aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2023-05-04 09:12:52 -0700
committerBen Langmuir <blangmuir@apple.com>2023-05-09 10:05:12 -0700
commitee8ed0b3099e63ba0a18cca42b9cfdf098bc6201 (patch)
tree1623cca40ed615f081bb1a0cfe93a503ccc3d0cb /clang/lib/Lex/ModuleMap.cpp
parentec77d1f3d9fcf7105b6bda25fb4d0e5ed5afd0c5 (diff)
downloadllvm-ee8ed0b3099e63ba0a18cca42b9cfdf098bc6201.zip
llvm-ee8ed0b3099e63ba0a18cca42b9cfdf098bc6201.tar.gz
llvm-ee8ed0b3099e63ba0a18cca42b9cfdf098bc6201.tar.bz2
[clang][deps] Teach dep directive scanner about _Pragma
While we cannot handle `_Pragma` used inside macros, we can handle this at the top level, and it some projects use the `_Pragma("once")` spelling like that, which was causing spurious failures in the scanner. Limitations * Cannot handle #define ONCE _Pragma("once"), same issue as using @import in a macro -- ideally we should diagnose this in obvious cases * Our LangOpts are currently fixed, so we are not handling u"" strings or R"()" strings that require C11/C++11. rdar://108629982 Differential Revision: https://reviews.llvm.org/D149884
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions