aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2020-04-16 15:20:07 -0700
committerAdrian Prantl <aprantl@apple.com>2020-04-24 11:10:50 -0700
commitef423a3ba57045f80b0fcafce72121449a8b54d4 (patch)
tree904ddda0d9898883239c2d81d59348a0adbb28cf /llvm/lib/Support/Threading.cpp
parentfdbf493a705c01b33796afc34d0da92c7e8cbb77 (diff)
downloadllvm-ef423a3ba57045f80b0fcafce72121449a8b54d4.zip
llvm-ef423a3ba57045f80b0fcafce72121449a8b54d4.tar.gz
llvm-ef423a3ba57045f80b0fcafce72121449a8b54d4.tar.bz2
Add Objective-C property accessors loaded from Clang module DWARF to lookup
This patch fixes a bug when synthesizing an ObjC property from -gmodules debug info. Because the method declaration that is injected via the non-modular property implementation is not added to the ObjCInterfaceDecl's lookup pointer, a second copy of the accessor would be generated when processing the ObjCPropertyDecl. This can be avoided by finding the existing method decl in ClangExternalASTSourceCallbacks::FindExternalVisibleDeclsByName() and adding it to the LookupPtr. Differential Revision: https://reviews.llvm.org/D78333
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions