diff options
| author | Ben Langmuir <blangmuir@apple.com> | 2023-05-04 09:12:52 -0700 |
|---|---|---|
| committer | Ben Langmuir <blangmuir@apple.com> | 2023-05-09 10:05:12 -0700 |
| commit | ee8ed0b3099e63ba0a18cca42b9cfdf098bc6201 (patch) | |
| tree | 1623cca40ed615f081bb1a0cfe93a503ccc3d0cb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.cpp | |
| parent | ec77d1f3d9fcf7105b6bda25fb4d0e5ed5afd0c5 (diff) | |
[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 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
