diff options
| author | Alex Lorenz <arphaman@gmail.com> | 2017-07-13 16:35:59 +0000 |
|---|---|---|
| committer | Alex Lorenz <arphaman@gmail.com> | 2017-07-13 16:35:59 +0000 |
| commit | f81d97e76323ec9bf32de995f03fafd93813aca5 (patch) | |
| tree | 09a04c806bfa3664f6c658c825cb65bc2517a4d5 /clang/test/SemaObjC/warn-deprecated-implementations.m | |
| parent | 5e9d6d0c14675342589e9a43245da95d398e3236 (diff) | |
| download | bcm5719-llvm-f81d97e76323ec9bf32de995f03fafd93813aca5.tar.gz bcm5719-llvm-f81d97e76323ec9bf32de995f03fafd93813aca5.zip | |
NFC, Cleanup the code for -Wdeprecated-implementations
and void capitalization of the warning message
rdar://22867595
llvm-svn: 307923
Diffstat (limited to 'clang/test/SemaObjC/warn-deprecated-implementations.m')
| -rw-r--r-- | clang/test/SemaObjC/warn-deprecated-implementations.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/SemaObjC/warn-deprecated-implementations.m b/clang/test/SemaObjC/warn-deprecated-implementations.m index df2557b9cd5..ed2156d9abe 100644 --- a/clang/test/SemaObjC/warn-deprecated-implementations.m +++ b/clang/test/SemaObjC/warn-deprecated-implementations.m @@ -16,7 +16,7 @@ @implementation A + (void)F { } // No warning, implementing its own deprecated method -- (void) D {} // expected-warning {{Implementing deprecated method}} +- (void) D {} // expected-warning {{implementing deprecated method}} - (void) E {} // No warning, implementing deprecated method in its class extension. @end @@ -32,10 +32,10 @@ __attribute__((deprecated)) // expected-note {{'CL' has been explicitly marked d @interface CL // expected-note 2 {{class declared here}} @end -@implementation CL // expected-warning {{Implementing deprecated class}} +@implementation CL // expected-warning {{implementing deprecated class}} @end -@implementation CL (SomeCategory) // expected-warning {{Implementing deprecated category}} +@implementation CL (SomeCategory) // expected-warning {{implementing deprecated category}} @end @interface CL_SUB : CL // expected-warning {{'CL' is deprecated}} @@ -49,7 +49,7 @@ __attribute__((deprecated)) // expected-note {{'CL' has been explicitly marked d @end @implementation SUB -- (void) B {} // expected-warning {{Implementing deprecated method}} +- (void) B {} // expected-warning {{implementing deprecated method}} @end @interface Test @@ -69,5 +69,5 @@ __attribute__((deprecated)) @interface Test(DeprecatedCategory) // expected-note {{category declared here}} @end -@implementation Test(DeprecatedCategory) // expected-warning {{Implementing deprecated category}} +@implementation Test(DeprecatedCategory) // expected-warning {{implementing deprecated category}} @end |

