include-what-you-use - Analyze #includes in C and C++ source files

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename include-what-you-use-0.12.tgz
Package name include-what-you-use
Package version 0.12
Package release -
Package architecture amd64
Package type tgz
Category devel
License modified-bsd
Maintainer -
Download size 4.98 MB
Installed size 22.89 MB
"Include what you use" means this: for every symbol (type, function
variable, or macro) that you use in, either 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.


Package Version Architecture Repository
include-what-you-use-0.12.tgz 0.12 i386 NetBSD
include-what-you-use - - -


Name Value
clang >= 8.0.0
python37 >= 3.7.0


Type URL
Binary Package include-what-you-use-0.12.tgz
Source Package include-what-you-use

Install Howto

Install include-what-you-use tgz package:

# pkg_add include-what-you-use

See Also

Package Description
incm-0.5.tgz Tool to get mail from mbox file or maildir
inconsolata-g-20090213nb1.tgz Modified Inconsolata TrueType font
inconsolata-ttf-20090207nb2.tgz Inconsolata TrueType font
indexinfo-0.2.6.tgz Utility to regenerate the GNU info page index
inetutils-1.9.4nb2.tgz GNU network utilities
inform-6.33.20160609.tgz Interactive fiction compiler (Z-Machine and Glulx)
ingo-1.2.6nb2.tgz Horde based generic and complete mail filter rule frontend
ini_file_manager-03.tgz Ini configuration file reader and manipulator package for Ada
iniparser-3.1.tgz Free stand-alone ini file parsing library
inkscape-0.92.4.tgz Scalable Vector Graphics (SVG) editor
inn-2.6.1nb2.tgz The public release of InterNet News (INN)
innoextract-1.7nb2.tgz Tool to unpack installers created by Inno Setup
innotop-1.9.1nb4.tgz MySQL and InnoDB monitor program
input-pad-1.0.3nb11.tgz On-screen Input Pad to Send Characters with Mouse
inspircd-2.0.27nb2.tgz Modular Internet Relay Chat (IRC) server