Skip to content
⌘K

include-what-you-use

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

health 71contrib 504.8k

Overview & architecture

C++ standard
–
Build systems
cmake
Languages
C++
Last release
0.27 · Oct 5, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
4.8k▲ 19
Merged PRs (30d)
latest
13▲ 6
Contributors (90d)
latest
5▲ 2
Issue first response p50
–
No snapshots yet.
219 open issues23 open PRs13 commits (30d)0 good first issues0 help wanted

Recent notable activity

  • Release
    include-what-you-use 0.27

    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…

    kimgr0.27
  • Release
    include-what-you-use 0.26

    Compatible with Clang 22. Major changes: [iwyu] Many improvements around the understanding of types, particularly templates [iwyu] Improve handling of builtin type traits [mappings] Add support for distinguishing function overloads and template specializations in mappings [mappings] Add mapping generator for Windows.h…

    kimgr0.26
  • Release
    include-what-you-use 0.25

    Compatible with Clang 21. Major changes: [iwyu] Add support for GNU __cleanup__ attribute [iwyu] Improved handling of member pointers [iwyu] Improved reporting of C arrays [iwyu] Much improved understanding of builtin type traits [iwyu] New --export_mappings option to generate external mappings from internal (breaking…

    kimgr0.25
  • Release
    include-what-you-use 0.24

    Compatible with Clang 20. Major changes: [iwyu] Improve handling of type traits [iwyu] Improve type analysis for some edge cases [mappings] Improve libstdc++ mappings [fix_includes] Implement --quoted_includes_first ... and many smaller improvements

    kimgr0.24
  • Release
    include-what-you-use 0.23

    Compatible with Clang 19. Major changes: [iwyu] New policy for finding compiler built-in headers (breaking change) [iwyu] Treat types from overridden method signatures as provided by base [iwyu] Analyze associated headers more closely with their source file [iwyu] Many improvements for template analysis [iwyu] Accept…

    kimgr0.23
  • Release
    include-what-you-use 0.22

    Compatible with Clang 18. Major changes: [iwyu] Improve type analysis for typedefs, aliases and templates [iwyu] Improve analysis of macros expanding macros [iwyu] Improve IWYU driver for better validation and job handling [iwyu] Reject IWYU invocations with precompiled headers (see FAQ) [iwyu_tool] Better preserve…

    kimgr0.22
  • Release
    include-what-you-use 0.21

    Compatible with Clang 17. Major changes: [iwyu] Improve analysis of type aliases (typedef and using) [iwyu] Improve analysis of namespace aliases (namespace xyz = foobar) [iwyu] Improve support for elaborated forward declarations (typedef struct Foo Bar;) [iwyu] Improve handling of "autocast" and function return…

    kimgr0.21
  • Release
    include-what-you-use 0.20

    [iwyu] Support IWYU pragma: export for forward-declarations [iwyu] Silently break cycles in mappings instead of crashing [iwyu] Require full type inside typeid() [iwyu] Improve template reporting and resugaring [iwyu] Improve reporting of explicit template instantiations [iwyu] Fix a few crashers [iwyu] Improve…

    kimgr0.20
  • Release
    include-what-you-use 0.19

    Compatible with Clang 15. [iwyu] New --comment_style option to control verbosity of 'why' comments [iwyu] New --regex option to select regex dialect [iwyu] Add support for regex replacement in mappings [iwyu] Add begin_keep/end_keep pragmas for protecting ranges of includes or forward-declares [iwyu] Fix several…

    kimgr0.19
  • Release
    include-what-you-use 0.18

    [iwyu] Fix crash on C++20 consteval expressions [iwyu] Use more conventional exit codes (breaking change!) [iwyu_tool] Fix deprecation warning for python3 [iwyu] Fix crash on va_list on AArch64 [iwyu] Improved support for using declarations based on new Clang design Note the breaking change for exit codes; IWYU now…

    kimgr0.18

Stories

ReleaseFor you

include-what-you-use 0.27 released

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…

Why it matters: First release in 6 months. include-what-you-use is in Language & Toolchain (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • include-what-you-use 0.27major

    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…

  • include-what-you-use 0.26major

    Compatible with Clang 22. Major changes: [iwyu] Many improvements around the understanding of types, particularly templates [iwyu] Improve handling of builtin type traits [mappings] Add support for distinguishing function overloads and template specializations in mappings [mappings] Add mapping generator for Windows.h…

  • include-what-you-use 0.25major

    Compatible with Clang 21. Major changes: [iwyu] Add support for GNU __cleanup__ attribute [iwyu] Improved handling of member pointers [iwyu] Improved reporting of C arrays [iwyu] Much improved understanding of builtin type traits [iwyu] New --export_mappings option to generate external mappings from internal (breaking…

  • include-what-you-use 0.24major

    Compatible with Clang 20. Major changes: [iwyu] Improve handling of type traits [iwyu] Improve type analysis for some edge cases [mappings] Improve libstdc++ mappings [fix_includes] Implement --quoted_includes_first ... and many smaller improvements

  • include-what-you-use 0.23major

    Compatible with Clang 19. Major changes: [iwyu] New policy for finding compiler built-in headers (breaking change) [iwyu] Treat types from overridden method signatures as provided by base [iwyu] Analyze associated headers more closely with their source file [iwyu] Many improvements for template analysis [iwyu] Accept…

  • include-what-you-use 0.22major

    Compatible with Clang 18. Major changes: [iwyu] Improve type analysis for typedefs, aliases and templates [iwyu] Improve analysis of macros expanding macros [iwyu] Improve IWYU driver for better validation and job handling [iwyu] Reject IWYU invocations with precompiled headers (see FAQ) [iwyu_tool] Better preserve…

  • include-what-you-use 0.21major

    Compatible with Clang 17. Major changes: [iwyu] Improve analysis of type aliases (typedef and using) [iwyu] Improve analysis of namespace aliases (namespace xyz = foobar) [iwyu] Improve support for elaborated forward declarations (typedef struct Foo Bar;) [iwyu] Improve handling of "autocast" and function return…

  • include-what-you-use 0.20major

    [iwyu] Support IWYU pragma: export for forward-declarations [iwyu] Silently break cycles in mappings instead of crashing [iwyu] Require full type inside typeid() [iwyu] Improve template reporting and resugaring [iwyu] Improve reporting of explicit template instantiations [iwyu] Fix a few crashers [iwyu] Improve…

  • include-what-you-use 0.19major

    Compatible with Clang 15. [iwyu] New --comment_style option to control verbosity of 'why' comments [iwyu] New --regex option to select regex dialect [iwyu] Add support for regex replacement in mappings [iwyu] Add begin_keep/end_keep pragmas for protecting ranges of includes or forward-declares [iwyu] Fix several…

  • include-what-you-use 0.18major

    [iwyu] Fix crash on C++20 consteval expressions [iwyu] Use more conventional exit codes (breaking change!) [iwyu_tool] Fix deprecation warning for python3 [iwyu] Fix crash on va_list on AArch64 [iwyu] Improved support for using declarations based on new Clang design Note the breaking change for exit codes; IWYU now…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.

Why this score

Health 71Contribution friendliness 50computed 19h ago
  • Activity0.75
    13 merged PRs in 30 days (full marks at 20); 13 commits in 30 days (full marks at 60)health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.00
    0 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median PR merge time 3 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence0.87
    last release 48 days ago (full marks within 90, zero after 730); 2 releases in 365 days (full marks at 4)health
  • Backlog pressure0.00
    100% of 10 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.55
    5 unique contributors in 90 days (full marks at 25); top contributor has 58% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.