aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/SourceManagerTest.cpp
diff options
context:
space:
mode:
authorPaul T Robinson <paul.robinson@sony.com>2023-10-06 12:27:07 -0700
committerGitHub <noreply@github.com>2023-10-06 12:27:07 -0700
commit4a16b51f438ad2827220bd21799bfee5ff3d55ef (patch)
tree7eeb964a0b186e105c19a81db671710ae52a71c3 /clang/unittests/Basic/SourceManagerTest.cpp
parente2a37cd032fe5a7cb3092edf2ece65be6849dc7c (diff)
downloadllvm-4a16b51f438ad2827220bd21799bfee5ff3d55ef.zip
llvm-4a16b51f438ad2827220bd21799bfee5ff3d55ef.tar.gz
llvm-4a16b51f438ad2827220bd21799bfee5ff3d55ef.tar.bz2
Make -frewrite-includes put an endif at the end of the included text (#67613)
The #if now has a conditional expression, so a user can add `-D__CLANG_REWRITTEN_SYSTEM_INCLUDES` to include the system headers instead of using the expanded content, or `-D__CLANG_REWRITTEN_INCLUDES` to include all headers. Also added the filename to the comments it emits, to help identify where included text ends, making it easier to identify and remove the content of individual headers.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions