summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-03-27 21:10:05 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-03-27 21:10:05 +0000
commit2e8074bfc345fb1d0c614afc963b87c50ec9be89 (patch)
tree7d7c2466f6c1eed6b3a6397851326e8819dd8dd2 /clang/test
parent174376629a6b2a593137a13dc76b9867ff2575a6 (diff)
downloadbcm5719-llvm-2e8074bfc345fb1d0c614afc963b87c50ec9be89.tar.gz
bcm5719-llvm-2e8074bfc345fb1d0c614afc963b87c50ec9be89.zip
Further improvement to point to category
whose protocolls methods needs implementation. llvm-svn: 99730
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/SemaObjC/method-undef-category-warn-1.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/method-undef-category-warn-1.m b/clang/test/SemaObjC/method-undef-category-warn-1.m
index dace8ab2949..7f360499231 100644
--- a/clang/test/SemaObjC/method-undef-category-warn-1.m
+++ b/clang/test/SemaObjC/method-undef-category-warn-1.m
@@ -1,6 +1,6 @@
// RUN: %clang_cc1 -fsyntax-only -verify %s
-@interface MyClass1 // expected-note 2 {{required for direct or indirect protocol 'P'}}
+@interface MyClass1
@end
@protocol P
@@ -8,7 +8,7 @@
- (void) Pmeth1; // expected-note {{method definition for 'Pmeth1' not found}}
@end
-@interface MyClass1(CAT) <P>
+@interface MyClass1(CAT) <P> // expected-note {{required for direct or indirect protocol 'P'}}
- (void) meth2; // expected-note {{method definition for 'meth2' not found}}
@end
@@ -16,7 +16,7 @@
- (void) Pmeth1{}
@end
-@interface MyClass1(DOG) <P>
+@interface MyClass1(DOG) <P> // expected-note {{required for direct or indirect protocol 'P'}}
- (void)ppp; // expected-note {{method definition for 'ppp' not found}}
@end
OpenPOWER on IntegriCloud