diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-05-03 15:49:20 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-05-03 15:49:20 +0000 |
commit | 738698d9d2e1ab0b1ae6a04874d521814907b8a5 (patch) | |
tree | 7ca2afc879dab653ca9c484209100825b8ca126f /test/SemaObjC/default-synthesize.m | |
parent | 6cfb1ca37bffdc4e3afdf96360b8c723a43bfbf4 (diff) |
Do not issue warning on unimplemented property in the class, if it
conforms to a protocol as one of its super classes does. This is because
conforming super class will implement the property. This implements
new warning rules for unimplemented properties (radar 7884086).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjC/default-synthesize.m')
-rw-r--r-- | test/SemaObjC/default-synthesize.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaObjC/default-synthesize.m b/test/SemaObjC/default-synthesize.m index 21453d3841..283ad260a9 100644 --- a/test/SemaObjC/default-synthesize.m +++ b/test/SemaObjC/default-synthesize.m @@ -85,14 +85,14 @@ @interface TopClass <TopProtocol> { - id myString; // expected-note {{previously declared 'myString' here}} + id myString; } @end @interface SubClass : TopClass <TopProtocol> @end -@implementation SubClass @end // expected-error {{property 'myString' attempting to use ivar 'myString' declared in super class 'TopClass'}} +@implementation SubClass @end // rdar: // 7920807 @interface C @end |