diff options
| author | Ted Kremenek <kremenek@apple.com> | 2013-03-27 00:02:21 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2013-03-27 00:02:21 +0000 |
| commit | 65d635775d986105a2cebef6a1ed33997695c055 (patch) | |
| tree | 67eeae3fad3d655cfd3f0a3588dcdf3a2c20f72d /clang/test/SemaObjC/incomplete-implementation.m | |
| parent | a7b0630ba84d8c5a6aeb48a19ea153e0e8ae8b54 (diff) | |
| download | bcm5719-llvm-65d635775d986105a2cebef6a1ed33997695c055.tar.gz bcm5719-llvm-65d635775d986105a2cebef6a1ed33997695c055.zip | |
Split "incomplete implementation" warnings for ObjC into separate warnings.
Previously all unimplemented methods for a class were grouped under
a single warning, with all the unimplemented methods mentioned
as notes. Based on feedback from users, most users would like
a separate warning for each method, with a note pointing back to
the original method declaration.
Implements <rdar://problem/13350414>
llvm-svn: 178097
Diffstat (limited to 'clang/test/SemaObjC/incomplete-implementation.m')
| -rw-r--r-- | clang/test/SemaObjC/incomplete-implementation.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/incomplete-implementation.m b/clang/test/SemaObjC/incomplete-implementation.m index 69e355cb9a6..4b8d600cb8b 100644 --- a/clang/test/SemaObjC/incomplete-implementation.m +++ b/clang/test/SemaObjC/incomplete-implementation.m @@ -1,13 +1,12 @@ // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fsyntax-only -verify -Wno-objc-root-class %s @interface I -- Meth; // expected-note{{method definition for 'Meth' not found}} \ - // expected-note{{method 'Meth' declared here}} +- Meth; // expected-note 2 {{method 'Meth' declared here}} - unavailableMeth __attribute__((availability(macosx,unavailable))); - unavailableMeth2 __attribute__((unavailable)); @end -@implementation I // expected-warning{{incomplete implementation}} +@implementation I // expected-warning {{method definition for 'Meth' not found}} @end @implementation I(CAT) |

