summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/default-synthesize-1.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/default-synthesize-1.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/default-synthesize-1.m')
-rw-r--r--clang/test/SemaObjC/default-synthesize-1.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaObjC/default-synthesize-1.m b/clang/test/SemaObjC/default-synthesize-1.m
index 3ca34e027cb..2a34a65a957 100644
--- a/clang/test/SemaObjC/default-synthesize-1.m
+++ b/clang/test/SemaObjC/default-synthesize-1.m
@@ -132,7 +132,7 @@
@interface ZXCalendarParsedResult : ZXParsedResult
-@property (nonatomic, copy, readonly) NSString *description; // expected-warning {{auto property synthesis will not synthesize property 'description' because it will be implemented by its superclass}}
+@property (nonatomic, copy, readonly) NSString *description; // expected-warning {{auto property synthesis will not synthesize property 'description'; it will be implemented by its superclass}}
@end
OpenPOWER on IntegriCloud