include-what-you-use
Install command:
brew install include-what-you-useAlso 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 | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 0.26 |
| head | ⚡️ | HEAD |
Revision: 1
Depends on:
| llvm | 23.1.1 | Next-gen compiler infrastructure |
Depends on when building from source:
| cmake | 4.4.3 | Cross-platform make |
Uses from macOS: ncurses
Binaries:
fix_includes.py,
include-what-you-use,
iwyu_tool.py
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 125 | 303 | 1,913 |
Installs (--HEAD) | 1 | 1 | 3 |
| Installs on Request | 125 | 303 | 1,913 |
Installs on Request (--HEAD) | 1 | 1 | 3 |
Build Errors (--HEAD) | 1 |