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 | 3306ec1923973d7b5767b23ba95915af2fec87d7 (patch) | |
tree | 99cb9e6c7fe53f800ace11be098d4caf52b74490 /test/SemaObjC/protocol-implementing-class-methods.m | |
parent | adfb535905a7ca4226d06a29ebc665085503afd5 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/protocol-implementing-class-methods.m')
-rw-r--r-- | test/SemaObjC/protocol-implementing-class-methods.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaObjC/protocol-implementing-class-methods.m b/test/SemaObjC/protocol-implementing-class-methods.m index f08a5a97d8..503eef11ca 100644 --- a/test/SemaObjC/protocol-implementing-class-methods.m +++ b/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) |