diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-08-22 10:38:07 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-08-22 10:38:07 +0000 |
commit | 34d070f3e58ce199fa80590f2611fd11d5c48952 (patch) | |
tree | 2297b2a592a2fd74c4148d76be92c0ad719f34d8 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | 1ca8bbb078bd5920d6ca154c05ab2dcbf53a7a8a (diff) | |
download | bcm5719-llvm-34d070f3e58ce199fa80590f2611fd11d5c48952.tar.gz bcm5719-llvm-34d070f3e58ce199fa80590f2611fd11d5c48952.zip |
[ObjC] Check written attributes only when synthesizing ambiguous property
This commit fixes a bug introduced in r307903. The attribute ambiguity checker
that was introduced in r307903 checked all property attributes, which caused
errors for source-compatible properties, like:
@property (nonatomic, readonly) NSObject *prop;
@property (nonatomic, readwrite) NSObject *prop;
because the readwrite property would get implicit 'strong' attribute. The
ambiguity checker should be concerned about explicitly specified attributes
only.
rdar://33748089
llvm-svn: 311443
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions