Include-what-you-use: A tool to analyze includes in C and C++ source files

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • include-what-you-use

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

    Take note:

    > CAVEAT

    > This is alpha quality software -- at best (as of July 2018). It was originally written to work specifically in the Google source tree, and may make assumptions, or have gaps, that are immediately and embarrassingly evident in other types of code.

    > While we work to get IWYU quality up, we will be stinting new features, and will prioritize reported bugs along with the many existing, known bugs. The best chance of getting a problem fixed is to submit a patch that fixes it (along with a test case that verifies the fix)!

  • signal-temporal-logic

    A library for efficiently working with Signal Temporal Logic (STL) and its quantitative semantics. Has Python bindings!

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • clangd

    clangd language server

    In most cases, what you are looking for is a language server like `clangd` (works for most compilers) [1].

    You can find a Language Server Protocol implementation for your editor at [2] (I don't think it lists __all__ clients, but it should include the most popular ones).


  • coc-clangd

    clangd extension for coc.nvim

    Thanks! I read about using LSP/Clangd with vim via [coc]( and I think that's the path I'll try going down.

    Other responses, thanks for your input. Just want to clarify that I have tried VS and VSCode with limited success (sometimes search works, sometimes it doesn't, and my biggest gripe is an occasional lack of transparency into what's going on under the cover).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts