Commit graph

5 commits

Author SHA1 Message Date
adam
ea3e85a877 Fixed building with LLVM 4.0.0 2017-03-17 22:39:30 +00:00
wiz
469475506a Updated include-what-you-use to 0.7.
Set LICENSE.

wyu 0.7 compatible with llvm+clang 3.9 is released. Major changes:

    Add preliminary mappings for libc++.
    Require the complete type for pointer arithmetic.
    Recognize nested classes in friend declarations.
    Better handling of X-macros/textual includes.
    Better handling of self-checking private headers (that raise an #error if included directly).
    Improve IWYU's understanding of implicit include dirs; the current source file's dirname is always a candidate now.
    Add implicit include dirs for libc++ on Darwin targets.
    Lots of internal cleanup based on output from clang-tidy.
    Reduce logging strategically, to get more relevant output.
2016-11-15 16:35:40 +00:00
wiz
74bf02f7e2 Update include-what-you-use to 0.6.
Compat update for clang/llvm 3.8.
2016-07-26 12:47:24 +00:00
tnn
fd07c6782c try to fix build with clang-3.8 2016-03-14 14:36:39 +00:00
bsiegert
699f38902c Add a package for include-what-you-use-0.5. From DESCR:
"Include what you use" means this: for every symbol (type, function
variable, or macro) that you use in foo.cc, either foo.cc or foo.h
should #include a .h file that exports the declaration of that symbol.
The include-what-you-use tool is a program that can be built with the
clang libraries in order to analyze #includes of source files to find
include-what-you-use violations, and suggest fixes for them.

The main goal of include-what-you-use is to remove superfluous #includes.
It does this both by figuring out what #includes are not actually needed for
this file (for both .cc and .h files), and replacing #includes with
forward-declares when possible.
2015-12-30 16:16:13 +00:00