aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <syaghmour@apple.com>2021-06-08 14:02:55 -0700
committerShafik Yaghmour <syaghmour@apple.com>2021-06-08 14:27:02 -0700
commitae1a699554cfa01d9fb307a964c3a9f71831a62e (patch)
treeba38203398abdbd5d493c74e7f684af15847e083 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp
parentd2012d965d60c3258b3a69d024491698f8aec386 (diff)
downloadllvm-ae1a699554cfa01d9fb307a964c3a9f71831a62e.zip
llvm-ae1a699554cfa01d9fb307a964c3a9f71831a62e.tar.gz
llvm-ae1a699554cfa01d9fb307a964c3a9f71831a62e.tar.bz2
[LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py
heap.py has a lot of large hand written expressions and each name in the expression will be looked up by clang during expression parsing. For function parameters this will be in Sema::ActOnParamDeclarator(...) in order to catch redeclarations of parameters. The names are not needed and we have seen some rare cases where since we don't have symbols we end up in SymbolContext::FindBestGlobalDataSymbol(...) which may conflict with other global symbols. There may be a way to make this lookup smarter to avoid these cases but it is not clear how well tested this path is and how much work it would be to fix it. So we will go with this fix while we investigate more. Ref: rdar://78265641
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions