summaryrefslogtreecommitdiffstats
path: root/test/SemaObjC/default-synthesize.m
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2017-07-03 10:12:24 +0000
committerAlex Lorenz <arphaman@gmail.com>2017-07-03 10:12:24 +0000
commitb9181e93ed98cd03533ebb9fa135ce59f5d9e46a (patch)
tree9f70eeb50ccd24c29e9ed23e47187ff4ec8e086f /test/SemaObjC/default-synthesize.m
parentae6cb8d28c844a6d45b3c64ae7338e9d1653784c (diff)
Add a fixit for -Wobjc-protocol-property-synthesis
rdar://32132756 Differential Revision: https://reviews.llvm.org/D34886 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/default-synthesize.m')
-rw-r--r--test/SemaObjC/default-synthesize.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaObjC/default-synthesize.m b/test/SemaObjC/default-synthesize.m
index 3f0ae0261d..61ce9317c5 100644
--- a/test/SemaObjC/default-synthesize.m
+++ b/test/SemaObjC/default-synthesize.m
@@ -137,7 +137,7 @@
@end
@implementation MyClass // expected-warning {{auto property synthesis will not synthesize property 'requiredString' declared in protocol 'MyProtocol'}}
-@end
+@end // expected-note {{add a '@synthesize' directive}}
// rdar://18152478
@protocol NSObject @end