summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/undef-protocol-methods-1.m
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-12-13 05:58:51 +0000
committerTed Kremenek <kremenek@apple.com>2013-12-13 05:58:51 +0000
commit2ccf19e1ab7496ab9a3ae11e93669281beea81e8 (patch)
tree0a8eb7478e4d206ebbb07cb16f1733999c22d295 /clang/test/SemaObjC/undef-protocol-methods-1.m
parentf87decdb67cf69ae0a74a6cfc51bbe49c365f9b6 (diff)
downloadbcm5719-llvm-2ccf19e1ab7496ab9a3ae11e93669281beea81e8.tar.gz
bcm5719-llvm-2ccf19e1ab7496ab9a3ae11e93669281beea81e8.zip
Change 'method X in protocol not implemented' warning to include the name of the protocol.
This removes an extra "note:", which wasn't really all that more useful and overall reduces the diagnostic spew for this case. llvm-svn: 197207
Diffstat (limited to 'clang/test/SemaObjC/undef-protocol-methods-1.m')
-rw-r--r--clang/test/SemaObjC/undef-protocol-methods-1.m7
1 files changed, 2 insertions, 5 deletions
diff --git a/clang/test/SemaObjC/undef-protocol-methods-1.m b/clang/test/SemaObjC/undef-protocol-methods-1.m
index 25b1dadb7cc..4858faf2803 100644
--- a/clang/test/SemaObjC/undef-protocol-methods-1.m
+++ b/clang/test/SemaObjC/undef-protocol-methods-1.m
@@ -22,13 +22,10 @@
+ (void) cls_meth : (int) arg1; // expected-note {{method 'cls_meth:' declared here}}
@end
-@interface INTF <PROTO> // expected-note 3 {{required for direct or indirect protocol 'PROTO'}} \
- // expected-note 2 {{required for direct or indirect protocol 'P1'}} \
- // expected-note 2 {{required for direct or indirect protocol 'P3'}} \
- // expected-note 2 {{required for direct or indirect protocol 'P2'}}
+@interface INTF <PROTO>
@end
-@implementation INTF // expected-warning 9 {{in protocol not implemented}}
+@implementation INTF // expected-warning 9 {{in protocol '}}
- (void) DefP1proto{}
+ (void) DefClsP3Proto{}
@end
OpenPOWER on IntegriCloud