summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2023-11-06 17:31:27 -0800
committerGitHub <noreply@github.com>2023-11-06 17:31:27 -0800
commitbdb309c5fd4030ae6ff9d5114e3532d45a98a183 (patch)
treec33525b58912c7258778b1eecb4fe5a5d5406978 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
parent160d483b1f3bda51a7ef28fae85920edcc43298e (diff)
[clang][modules] Avoid modules diagnostics for `__has_include()` (#71450)
After #70144 Clang started resolving module maps even for `__has_include()` expressions. This had the unintended consequence of emitting diagnostics around header misuse. These don't make sense if you actually don't bring contents of the header into the importer, so should be skipped for `__has_include()`. This patch moves emission of these diagnostics out of `Preprocessor::LookupFile()` up into `Preprocessor::LookupHeaderIncludeOrImport()`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions