include-what-you-use - Tool for use with clang to analyze #includes in C and C++ source files

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename include-what-you-use-0.12_1.txz
Package name include-what-you-use
Package version 0.12
Package release 1
Package architecture amd64
Package type txz
Category devel
License NCSA
Download size 4.32 MB
Installed size 19.52 MB
"Include what you use" means this: for every symbol (type, function,
variable, or macro) that you use in (or foo.cpp), either
or foo.h should include a .h file that exports the declaration of that
symbol. (Similarly, for, either or foo.h should
do the including.) Obviously symbols defined in itself are
excluded from this requirement.
This puts us in a state where every file includes the headers it needs
to declare the symbols that it uses. When every file includes what it
uses, then it is possible to edit any file and remove unused headers,
without fear of accidentally breaking the upwards dependencies of
that file. It also becomes easy to automatically track and update
dependencies in the source code.


Package Version Architecture Repository
include-what-you-use-0.12_1.txz 0.12 amd64 FreeBSD Ports Latest
include-what-you-use-0.12_1.txz 0.12 i386 FreeBSD Ports Latest
include-what-you-use-0.12_1.txz 0.12 i386 FreeBSD Ports Quarterly
include-what-you-use - - -


Name Value -
llvm80 = 8.0.1_3
python36 = 3.6.9


Type URL
Binary Package include-what-you-use-0.12_1.txz
Source Package devel/include-what-you-use

Install Howto

Install include-what-you-use txz package:

# pkg install include-what-you-use

See Also

Package Description
inconsolata-ttf-2.001_1,1.txz Monospaced truetype font
incron-2017.11.13_1.txz Handle filesystem-events the way cron handles time ones
indexinfo-0.3.1.txz Utility to regenerate the GNU info page index
infamous-plugins-lv2-0.3.0.txz LV2 plugins for various sound effects
infernal-1.1.2.txz Search sequence databases for structural RNA homologs
influxdb-1.7.9.txz Open-source distributed time series database
info2html-2.0.txz Translate GNU info files into HTML pages
info2man-20040717_1.txz Translate GNU info files into man pages
info_to_html-0.9.6_1.txz Translate GNU info files into HTML pages
infobot-0.45.3_3.txz Bot written in Perl with a rabid AI
inform7-6L38.txz Inform 7 programming language (CLI edition)
ini_file_manager-03_3.txz Ini configuration file reader and manipulator package for Ada
inifiled-1.3.1_2.txz Compile time ini file parser and writter generator for D
inilib-1.0.7b3.txz C++ lib which provides a method of saving the "state" of a program
inilike-1.1.0_2.txz D library for parsing ini-like files used in Freedesktop systems