diff options
Diffstat (limited to 'test/SemaObjC/warn-protocol-method-deprecated.m')
-rw-r--r-- | test/SemaObjC/warn-protocol-method-deprecated.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/warn-protocol-method-deprecated.m b/test/SemaObjC/warn-protocol-method-deprecated.m index 928694db2528..70dd394845ce 100644 --- a/test/SemaObjC/warn-protocol-method-deprecated.m +++ b/test/SemaObjC/warn-protocol-method-deprecated.m @@ -3,7 +3,7 @@ @protocol TestProtocol - (void)newProtocolMethod; -- (void)deprecatedProtocolMethod __attribute__((deprecated)); // expected-note 2 {{method 'deprecatedProtocolMethod' declared here}} +- (void)deprecatedProtocolMethod __attribute__((deprecated)); // expected-note 2 {{'deprecatedProtocolMethod' has been explicitly marked deprecated here}} @end @interface NSObject @end @@ -11,7 +11,7 @@ @interface TestClass : NSObject <TestProtocol> - (void)newInstanceMethod; -- (void)deprecatedInstanceMethod __attribute__((deprecated)); // expected-note {{method 'deprecatedInstanceMethod' declared here}} +- (void)deprecatedInstanceMethod __attribute__((deprecated)); // expected-note {{'deprecatedInstanceMethod' has been explicitly marked deprecated here}} @end |