summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2022-01-18 15:44:24 +0100
committerJan Svoboda <jan_svoboda@apple.com>2022-01-18 16:02:18 +0100
commit105c913156e94163c937d812992fe3a56210998c (patch)
treef3a0cf2d96865b2d55987b7fedbc17bb74182cc0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
parent8b21e074dbdf79062505f28b700bd4502acf3096 (diff)
[clang][lex] NFC: Simplify calls to `LookupFile`
The `{HeaderSearch,Preprocessor}::LookupFile()` functions take an out-parameter `const DirectoryLookup *&`. Most callers end up creating a `const DirectoryLookup *` variable that's otherwise unused. This patch changes the out-parameter from reference to a pointer, making it possible to simply pass `nullptr` to the function without the ceremony. Reviewed By: ahoppen Differential Revision: https://reviews.llvm.org/D117312
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions