diff options
| author | Erik Pilkington <erik.pilkington@gmail.com> | 2017-05-31 15:45:57 +0000 |
|---|---|---|
| committer | Erik Pilkington <erik.pilkington@gmail.com> | 2017-05-31 15:45:57 +0000 |
| commit | 608164077ec9242ff056cbbaf7e5740126bb2f42 (patch) | |
| tree | 43c956df24180d89d9f250d93a10a84c8d127c2d /clang/test/SemaObjC/warn-deprecated-implementations.m | |
| parent | 4b2f3269ab4103e1acdc94de09058856a75d1434 (diff) | |
| download | bcm5719-llvm-608164077ec9242ff056cbbaf7e5740126bb2f42.tar.gz bcm5719-llvm-608164077ec9242ff056cbbaf7e5740126bb2f42.zip | |
[Sema][ObjC] Don't emit availability diags for category @implementations
These diagnostics can't be disabled, and can't actually catch any bugs.
rdar://32427296
Differential revision: https://reviews.llvm.org/D33661
llvm-svn: 304306
Diffstat (limited to 'clang/test/SemaObjC/warn-deprecated-implementations.m')
| -rw-r--r-- | clang/test/SemaObjC/warn-deprecated-implementations.m | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/SemaObjC/warn-deprecated-implementations.m b/clang/test/SemaObjC/warn-deprecated-implementations.m index 0c341165b0f..df2557b9cd5 100644 --- a/clang/test/SemaObjC/warn-deprecated-implementations.m +++ b/clang/test/SemaObjC/warn-deprecated-implementations.m @@ -28,15 +28,14 @@ - (void) G {} // No warning, implementing its own deprecated method @end -__attribute__((deprecated)) // expected-note 2 {{'CL' has been explicitly marked deprecated here}} +__attribute__((deprecated)) // expected-note {{'CL' has been explicitly marked deprecated here}} @interface CL // expected-note 2 {{class declared here}} @end @implementation CL // expected-warning {{Implementing deprecated class}} @end -@implementation CL ( SomeCategory ) // expected-warning {{'CL' is deprecated}} \ - // expected-warning {{Implementing deprecated category}} +@implementation CL (SomeCategory) // expected-warning {{Implementing deprecated category}} @end @interface CL_SUB : CL // expected-warning {{'CL' is deprecated}} |

