./devel/include-what-you-use, Analyze #includes in C and C++ source files

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.7nb2, Package name: include-what-you-use-0.7nb2, Maintainer: pkgsrc-users

"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.


Required to run:
[lang/clang] [lang/python27] [lang/gcc48-libs]

Required to build:
[lang/gcc48] [pkgtools/cwrappers]

Master sites:

SHA1: 2c50ace20d108a097d2aa5433b0c50a7d1f8b59e
RMD160: 3143e978989bbbdefc14e7d41b696980fcc6ebd9
Filesize: 436.302 KB

Version history: (Expand)


CVS history: (Expand)


   2017-03-17 23:39:31 by Adam Ciarcinski | Files touched by this commit (6)
Log message:
Fixed building with LLVM 4.0.0
   2016-12-19 00:33:12 by Joerg Sonnenberger | Files touched by this commit (12)
Log message:
Bump revision of all packages using libform, libpanel or libmenu as the
library name in devel/ncurses changed.
   2016-11-15 17:35:40 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
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-14 21:56:10 by Ryo ONODERA | Files touched by this commit (3)
Log message:
Recursive revbump from llvm 3.9.0
   2016-07-26 14:47:24 by Thomas Klausner | Files touched by this commit (5) | Package removed
Log message:
Update include-what-you-use to 0.6.

Compat update for clang/llvm 3.8.
   2016-07-05 02:19:59 by Maya Rashish | Files touched by this commit (4)
Log message:
Avoid GCC_REQD= in favour of GCC_REQD+=

The latter allows users to override the value with a newer version.
   2016-03-14 15:36:39 by Tobias Nygren | Files touched by this commit (5)
Log message:
try to fix build with clang-3.8
   2015-12-30 17:23:52 by Thomas Klausner | Files touched by this commit (1)
Log message:
Merge from wip version.