aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-09-28 16:07:43 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-09-29 15:07:10 -0400
commitfd4680fd2cbf0b910e99009a21e8515576b922d8 (patch)
tree3e8eb731de84ca131d367e966d93516f2cbf46f0 /clang/lib/Frontend/InitPreprocessor.cpp
parent1609a5d7715c06ff52c13af8b20ee64811a8ec7b (diff)
downloadllvm-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