include-what-you-use

Install command:
brew install include-what-you-use

Also known as: iwyu

Tool to analyze #includes in C and C++ source files

https://include-what-you-use.org/

License: NCSA

Development: Pull requests

Formula JSON API: /api/formula/include-what-you-use.json

Formula code: include-what-you-use.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.27
head ⚡️ HEAD

Depends on:

llvm 23.1.2 Next-gen compiler infrastructure

Depends on when building from source:

cmake 4.4.4 Cross-platform make

Uses from macOS: ncurses

Binaries: fix_includes.py, include-what-you-use, iwyu_tool.py

Analytics:

30 days90 days365 days
Installs822941,695
Installs (--HEAD)013
Installs on Request822941,695
Installs on Request (--HEAD)013
Build Errors0