diff options
author | Adrian Prantl <aprantl@apple.com> | 2020-04-16 15:20:07 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2020-04-24 11:10:50 -0700 |
commit | ef423a3ba57045f80b0fcafce72121449a8b54d4 (patch) | |
tree | 904ddda0d9898883239c2d81d59348a0adbb28cf /llvm/lib/Support/Threading.cpp | |
parent | fdbf493a705c01b33796afc34d0da92c7e8cbb77 (diff) | |
download | llvm-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