summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/protocol-implementing-class-methods.m
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-02-27 22:55:11 +0000
committerTed Kremenek <kremenek@apple.com>2012-02-27 22:55:11 +0000
commit59b10db2bc2bef2a609a02c31bef8a2e79f899b1 (patch)
tree604178d5973229adced2a706c9de2697bf9141a3 /clang/test/SemaObjC/protocol-implementing-class-methods.m
parent06e4818dd6aa840265944f1b4605ad639860b577 (diff)
downloadbcm5719-llvm-59b10db2bc2bef2a609a02c31bef8a2e79f899b1.tar.gz
bcm5719-llvm-59b10db2bc2bef2a609a02c31bef8a2e79f899b1.zip
After numerous requests, have Objective-C 'method declared here' notes mention the actual method. This looks better within an IDE, where text isn't always regurgitated in the presentation of a warning. Fixes radar 10914035.
llvm-svn: 151579
Diffstat (limited to 'clang/test/SemaObjC/protocol-implementing-class-methods.m')
-rw-r--r--clang/test/SemaObjC/protocol-implementing-class-methods.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/protocol-implementing-class-methods.m b/clang/test/SemaObjC/protocol-implementing-class-methods.m
index f08a5a97d8b..503eef11ca6 100644
--- a/clang/test/SemaObjC/protocol-implementing-class-methods.m
+++ b/clang/test/SemaObjC/protocol-implementing-class-methods.m
@@ -5,11 +5,11 @@
@optional
- (int) PMeth;
@required
-- (void) : (double) arg; // expected-note {{method declared here}}
+- (void) : (double) arg; // expected-note {{method ':' declared here}}
@end
@interface NSImage <P1>
-- (void) initialize; // expected-note {{method declared here}}
+- (void) initialize; // expected-note {{method 'initialize' declared here}}
@end
@interface NSImage (AirPortUI)
@@ -17,7 +17,7 @@
@end
@interface NSImage()
-- (void) CEMeth; // expected-note {{method declared here}}
+- (void) CEMeth; // expected-note {{method 'CEMeth' declared here}}
@end
@implementation NSImage (AirPortUI)
OpenPOWER on IntegriCloud