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/incomplete-implementation.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/incomplete-implementation.m')
| -rw-r--r-- | clang/test/SemaObjC/incomplete-implementation.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/incomplete-implementation.m b/clang/test/SemaObjC/incomplete-implementation.m index a79628aeedd..df34a43f74a 100644 --- a/clang/test/SemaObjC/incomplete-implementation.m +++ b/clang/test/SemaObjC/incomplete-implementation.m @@ -2,7 +2,7 @@ @interface I - Meth; // expected-note{{method definition for 'Meth' not found}} \ - // expected-note{{method declared here}} + // expected-note{{method 'Meth' declared here}} @end @implementation I // expected-warning{{incomplete implementation}} @@ -14,7 +14,7 @@ #pragma GCC diagnostic ignored "-Wincomplete-implementation" @interface I2 -- Meth; // expected-note{{method declared here}} +- Meth; // expected-note{{method 'Meth' declared here}} @end @implementation I2 |

