llvm-capstone/clang-tools-extra/include-cleaner
Sam McCall 16b5e1897b [include-cleaner] Loose matching for verbatim headers
A verbatim header usually corresponds to a symbol from a header with
a pragma "IWYU pragma: private, include <foo.h>".

Currently this is only satisfied if the main file contains exactly
  #include <foo.h>
In practice this is too strict, we also want to allow
  #include "path/to/foo.h"
so long as they resolve to the same file.

We cannot be 100% sure without doing IO, and we're not willing to do
that, but we can detect the common cases based on paths.

Differential Revision: https://reviews.llvm.org/D155819
2023-07-27 18:19:24 +02:00
..
include/clang-include-cleaner [include-cleaner] Loose matching for verbatim headers 2023-07-27 18:19:24 +02:00
lib [include-cleaner] Loose matching for verbatim headers 2023-07-27 18:19:24 +02:00
test [include-cleaner] Add an IgnoreHeaders flag to the command-line tool. 2023-07-06 11:18:44 +02:00
tool [include-cleaner] Avoid a caching issue when running --edit mode on multiple files. 2023-07-18 13:21:23 +02:00
unittests [include-cleaner] Loose matching for verbatim headers 2023-07-27 18:19:24 +02:00
CMakeLists.txt [include-cleaner] Add include-cleaner tool, with initial HTML report 2022-10-18 18:09:41 +02:00
README.md