aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorShafik Yaghmour <syaghmour@apple.com>2021-10-19 16:52:36 -0700
committerShafik Yaghmour <syaghmour@apple.com>2021-10-19 16:52:36 -0700
commit320f65ee65f40fadbd2016036e538e28ae28614c (patch)
tree01d730b4b955082bf801c441ad6af1bddfbc18cd /clang/lib/CodeGen/CodeGenAction.cpp
parentcd40b5a71290bab313cc431fb9a90ac3f9f3fa02 (diff)
downloadllvm-320f65ee65f40fadbd2016036e538e28ae28614c.zip
llvm-320f65ee65f40fadbd2016036e538e28ae28614c.tar.gz
llvm-320f65ee65f40fadbd2016036e538e28ae28614c.tar.bz2
[LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py part 2
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. This is a second try at getting all the cases we care about. Ref: rdar://78265641
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions