diff options
author | Douglas Gregor <dgregor@apple.com> | 2015-12-09 22:57:32 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2015-12-09 22:57:32 +0000 |
commit | 429183e7c8b93e8fcbad7741f87fc25d1cb94d51 (patch) | |
tree | d71e6da6d78b6295232174efc8c52ac14e070e35 /clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp | |
parent | bf56c0a5124254edfb2cdee4aa44b2eda058b99e (diff) | |
download | bcm5719-llvm-429183e7c8b93e8fcbad7741f87fc25d1cb94d51.tar.gz bcm5719-llvm-429183e7c8b93e8fcbad7741f87fc25d1cb94d51.zip |
Objective-C properties: loosen 'atomic' checking for readonly properties.
r251874 reworked the way we handle properties declared within
Objective-C class extensions, which had the effective of tightening up
property checking in a number of places. In this particular class of
cases, we end up complaining about "atomic" mismatches between an
implicitly-atomic, readonly property and a nonatomic, readwrite
property, which doesn't make sense because "atomic" is essentially
irrelevant to readonly properties.
Therefore, suppress this diagnostic when the readonly property is
implicitly atomic. Fixes rdar://problem/23803109.
llvm-svn: 255174
Diffstat (limited to 'clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp')
0 files changed, 0 insertions, 0 deletions