summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/attr-deprecated.m
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2014-08-29 18:31:16 +0000
committerFariborz Jahanian <fjahanian@apple.com>2014-08-29 18:31:16 +0000
commitc9b771560ab39146d15d6da4ea151eeb3f1f5e87 (patch)
treef94ec90199349d5fe027bf57c7b9744ac6df68d6 /clang/test/SemaObjC/attr-deprecated.m
parent8d05190e1d2c858f29ed143346871e0217ddd950 (diff)
downloadbcm5719-llvm-c9b771560ab39146d15d6da4ea151eeb3f1f5e87.tar.gz
bcm5719-llvm-c9b771560ab39146d15d6da4ea151eeb3f1f5e87.zip
Objective-C. Tweak diagnosing properties that are not auto-synthesized.
Do not warn when property declared in class's protocol will be auto-synthesized by its uper class implementation because super class has also declared this property while this class has not. Continue to warn if current class has declared the property also (because this declaration will not result in a 2nd synthesis). rdar://18152478 llvm-svn: 216753
Diffstat (limited to 'clang/test/SemaObjC/attr-deprecated.m')
-rw-r--r--clang/test/SemaObjC/attr-deprecated.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/attr-deprecated.m b/clang/test/SemaObjC/attr-deprecated.m
index 9c33b5bade9..3e9157d0961 100644
--- a/clang/test/SemaObjC/attr-deprecated.m
+++ b/clang/test/SemaObjC/attr-deprecated.m
@@ -201,7 +201,7 @@ expected-note {{'setObject:' has been explicitly marked deprecated here}}
@end
@interface TestDerived : TestBase
-@property (nonatomic, strong) id object; //expected-warning {{auto property synthesis will not synthesize property 'object' because it will be implemented by its superclass}}
+@property (nonatomic, strong) id object; //expected-warning {{auto property synthesis will not synthesize property 'object'; it will be implemented by its superclass}}
@end
@interface TestUse @end
OpenPOWER on IntegriCloud