Maintainer Mode
Sign in with GitHub

include-what-you-use

Sign in to subscribe
Health
Risk
risk 10 low
  • +8 0.26 is behind upstream 0.27
  • +2 no meta.mainProgram, no versionCheckHook
Version
0.26 upstream 0.27
Channels
master 0.26 · nixos-unstable 0.26 · nixos-26.05 0.26 no channel is behind master
Hydra
succeeded 2d ago
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 0all open bumps
None open. Upstream has 0.27: how to update a package.
Pull requests 1
Closed or merged in the synced window 1
various: move to by-name
#565300 by ethancedwards8 · merged 13d ago
Issues 0
None open.