Package Info

include-what-you-use


A tool to analyze #includes in C and C++ source files


Development/Languages/C and C++

"Include what you use" means this: for every symbol (type, function, variable, or macro) that you use in foo.cc (or foo.cpp), either foo.cc or foo.h should include a .h file that exports the declaration of that symbol. The include-what-you-use program is a tool 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 declarations when possible.


License: NCSA
URL: https://include-what-you-use.org/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.21-bp156.1.2 info GA Release 2024-05-13 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools
0.19-bp155.2.5 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools
0.17-bp154.1.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools
0.15-bp153.1.2 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools
0.13-bp152.1.1 info GA Release 2020-06-02 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools
0.9-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools
0.9-bp151.2.15 info GA Release 2019-05-18 15 SP1
  • ppc64le
  • include-what-you-use
  • include-what-you-use-tools
0.9-bp150.2.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • include-what-you-use
  • include-what-you-use-tools