diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2025-04-28 21:54:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-28 21:54:45 -0700 |
| commit | 2f1ef1d18334629bf7c6be1951092f3974b40f0e (patch) | |
| tree | 5432d215f00b8247a517f5ef0485cf7dc5cf9819 /clang/lib/CodeGen/ObjectFilePCHContainerWriter.cpp | |
| parent | 15579a8e72589b4fdf45c8f5bca52e58dcc9ce1d (diff) | |
| download | llvm-2f1ef1d18334629bf7c6be1951092f3974b40f0e.zip llvm-2f1ef1d18334629bf7c6be1951092f3974b40f0e.tar.gz llvm-2f1ef1d18334629bf7c6be1951092f3974b40f0e.tar.bz2 | |
[Clang] Add new -header-include-filtering=direct-per-file option (#137087)
This adds a new filtering option to be used along with the
-header-include-format=json option. The existing "only-direct-system"
filtering option is missing some things:
- It does not show module imports.
- It does not show includes of non-system headers. This new
"direct-per-file" filtering has a separate entry in the JSON output for
each non-system source file, showing the direct includes and imports
from that file. You can use this to see uses of non-system headers, and
also find the paths through non-system headers that lead up to module
imports and system headers. Modules are identified here by their
modulemap files.
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerWriter.cpp')
0 files changed, 0 insertions, 0 deletions
