summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2015-12-09 22:57:32 +0000
committerDouglas Gregor <dgregor@apple.com>2015-12-09 22:57:32 +0000
commit429183e7c8b93e8fcbad7741f87fc25d1cb94d51 (patch)
treed71e6da6d78b6295232174efc8c52ac14e070e35 /clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp
parentbf56c0a5124254edfb2cdee4aa44b2eda058b99e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud