Library

include-what-you-use 0.27

Version0.27
Stars★ 4,773
Released2026-10-05

A tool for use with clang to analyze #includes in C and C++ source files

Release notes

Compatible with Clang 23.

* [iwyu] Improve printing of forward-declarations
* [iwyu] Fix several crashes on valid inputs
* [iwyu] Improve analysis of template types
* [iwyu] Always keep includes embedded in language constructs
* [cmake] Add `IWYU_USE_SYSTEM_GTEST` option to use system googletest instead of bundled
* [mappings] Add mapping generators for Clang builtin and intrinsics headers
* [mappings] Allow forward-decl-specific symbol mappings (e.g. for mapping fwd-decl uses of `std::basic_ios` to `<iosfwd>`)
* [mappings] Prefer `<c*>` headers for C library symbols in C++ mode
* [fix_includes] Add `--always_first_include` option to force particular headers to the top

Share this resource


Discovered 2026-10-06 Source GitHub Archive 2026-10 →