diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-02-27 22:55:11 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-02-27 22:55:11 +0000 |
commit | 59b10db2bc2bef2a609a02c31bef8a2e79f899b1 (patch) | |
tree | 604178d5973229adced2a706c9de2697bf9141a3 /clang/test/SemaObjC/category-1.m | |
parent | 06e4818dd6aa840265944f1b4605ad639860b577 (diff) | |
download | bcm5719-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/category-1.m')
-rw-r--r-- | clang/test/SemaObjC/category-1.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/category-1.m b/clang/test/SemaObjC/category-1.m index 7df85da5009..137309f755d 100644 --- a/clang/test/SemaObjC/category-1.m +++ b/clang/test/SemaObjC/category-1.m @@ -62,7 +62,7 @@ // <rdar://problem/7249233> @protocol MultipleCat_P --(void) im0; // expected-note {{method declared here}} +-(void) im0; // expected-note {{method 'im0' declared here}} @end @interface MultipleCat_I @end // expected-note {{required for direct or indirect protocol 'MultipleCat_P'}} @@ -72,7 +72,7 @@ @interface MultipleCat_I() <MultipleCat_P> @end @implementation MultipleCat_I // expected-warning {{incomplete implementation}} \ - // expected-warning {{method in protocol not implemented}} + // expected-warning {{method 'im0' in protocol not implemented}} @end // <rdar://problem/7680391> - Handle nameless categories with no name that refer |