./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.9, Package name: include-what-you-use-0.9, 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]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 76f0da08db27d1387095a997b451bd1a63443dc5
RMD160: 9c01bfcea047c2c6e466eaa7864aaa45ba9de6cd
Filesize: 428.79 KB

Version history: (Expand)


CVS history: (Expand)


   2018-02-06 11:01:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
include-what-you-use: updated to 0.9

0.9:
Added compatibility with Clang 5.0.
   2017-12-13 18:51:45 by Thomas Klausner | Files touched by this commit (1)
Log message:
include-what-you-use: Mark as BROKEN.

Not adapted for llvm 5.
https://github.com/include-what-you-use … issues/462
   2017-08-16 22:21:18 by Thomas Klausner | Files touched by this commit (180)
Log message:
Follow some http redirects.
   2017-08-07 19:31:44 by Adam Ciarcinski | Files touched by this commit (6) | Package removed
Log message:
iwyu 0.8:
Add support for IWYU pragma: associated
Better validation of pragma syntax in general.
Improve support for out-of-tree builds, especially with MSVC.
Add more compiler-like output for iwyu_tool.py
Further improve location reporting in macros.
Stricter requirements for arrays of templates.
Better recognition of typedef types for by-value arguments.
Better function pointers support.
Documentation improvements.
Extend IWYU pragma: keep to work with forward declarations.
Fix Windows path handling in fix_includes.py
Better libc++ container support.
   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