diff options
author | Pierre Habouzit <phabouzit@apple.com> | 2019-12-17 11:06:17 -0800 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2019-12-17 11:07:48 -0800 |
commit | a4e1819c16836dba928e646024a2406bb2eb3f94 (patch) | |
tree | 6580539c4eac5e07801e76c66a837799e43c0c7d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0412f518dcb05216d2321c28366eb760b65baebc (diff) | |
download | bcm5719-llvm-a4e1819c16836dba928e646024a2406bb2eb3f94.tar.gz bcm5719-llvm-a4e1819c16836dba928e646024a2406bb2eb3f94.zip |
[objc_direct] fix uniquing when re-declaring a readwrite-direct property
ObjCMethodDecl::getCanonicalDecl() for re-declared readwrite properties,
only looks in the ObjCInterface for the declaration of the setter
method, which it won't find.
When the method is a property accessor, we must look in extensions for a
possible redeclaration.
Radar-Id: rdar://problem/57991337
Differential Revision: https://reviews.llvm.org/D71588
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions