diff options
author | Paul T Robinson <paul.robinson@sony.com> | 2023-10-06 12:27:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 12:27:07 -0700 |
commit | 4a16b51f438ad2827220bd21799bfee5ff3d55ef (patch) | |
tree | 7eeb964a0b186e105c19a81db671710ae52a71c3 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | e2a37cd032fe5a7cb3092edf2ece65be6849dc7c (diff) | |
download | llvm-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