include-what-you-use

Health

Risk
risk 2 low
  • +2 no meta.mainProgram, no versionCheckHook
Version
0.27 the newest release repology knowsrepology ↗nixkeeper ↗
Update bot
failed 2w ago · not in the queue · logs
Channels
master 0.27 · nixos-unstable 0.27 · nixos-26.11 0.27 no channel is behind master
Advisories
none open
Packaging
no meta.mainProgram no versionCheckHook
Description
Analyze #includes in C/C++ source files with clang
Long description
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 main goal of include-what-you-use is to remove superfluous #includes, both by figuring out what #includes are not actually needed for this file (for both .cc and .h files), and by replacing #includes with forward-declares when possible.
Platforms
45 platforms: Linux, Darwin
Source provenance
not set: built from source
Outputs
out
Status
not broken, not insecure, free
Maintainers

Version bumps 0

all open bumps
None open.

Pull requests 1

wip: cudaPackages: use a role-aware component registry and support cross-compilation draft treewide · 146 packages
#545092 by ConnorBaker · opened 4mo ago · checks fail
Closed or merged in the last 60 days 2
include-what-you-use: 0.26 -> 0.27
#585795 by ja1den · merged 2w ago
various: move to by-name
#565300 by ethancedwards8 · merged 8w ago

Issues 0

None open.