diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2022-09-28 16:07:43 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2022-09-29 15:07:10 -0400 |
commit | fd4680fd2cbf0b910e99009a21e8515576b922d8 (patch) | |
tree | 3e8eb731de84ca131d367e966d93516f2cbf46f0 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 1609a5d7715c06ff52c13af8b20ee64811a8ec7b (diff) | |
download | llvm-fd4680fd2cbf0b910e99009a21e8515576b922d8.zip llvm-fd4680fd2cbf0b910e99009a21e8515576b922d8.tar.gz llvm-fd4680fd2cbf0b910e99009a21e8515576b922d8.tar.bz2 |
[libc++] Include skipped headers in the --trace-includes output
By default, Clang does not include headers that are skipped due to
the include guard optimization in the --trace-includes output, which
breaks the use case that we were trying to use it for.
However, Clang does support the -fshow-skipped-includes flag, which
does exactly what we need and will result in an accurate include
graph.
As a fly-by fix, make sure that our includes don't differ between
-fexceptions and -fno-exceptions.
Differential Revision: https://reviews.llvm.org/D134829
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions