pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: bsiegert
Date: Wed Dec 30 16:16:13 UTC 2015
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/include-what-you-use: DESCR Makefile PLIST distinfo
pkgsrc/devel/include-what-you-use/patches: patch-iwyu__output.cc
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.2183 -r1.2184 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/include-what-you-use/DESCR \
pkgsrc/devel/include-what-you-use/Makefile \
pkgsrc/devel/include-what-you-use/PLIST \
pkgsrc/devel/include-what-you-use/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/include-what-you-use/patches/patch-iwyu__output.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index