diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-24 20:31:37 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-06-24 20:31:37 +0000 |
| commit | 9fc39c4944bb98554d475960786b3e27afe53799 (patch) | |
| tree | e1149d6e512c056d086f89a8676f287919e44891 /clang/lib/Sema/SemaObjCProperty.cpp | |
| parent | 6629b574b33326055740abf3474bcacc25d1e099 (diff) | |
| download | bcm5719-llvm-9fc39c4944bb98554d475960786b3e27afe53799.tar.gz bcm5719-llvm-9fc39c4944bb98554d475960786b3e27afe53799.zip | |
No need to warn if 'unavailable' method/property
is not implemented. // rdar://9651605
llvm-svn: 133819
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index 75ff0d119a4..22f9b3e092b 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -1273,7 +1273,7 @@ void Sema::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl, // Is there a matching propery synthesize/dynamic? if (Prop->isInvalidDecl() || Prop->getPropertyImplementation() == ObjCPropertyDecl::Optional || - PropImplMap.count(Prop)) + PropImplMap.count(Prop) || Prop->hasAttr<UnavailableAttr>()) continue; if (!InsMap.count(Prop->getGetterName())) { Diag(Prop->getLocation(), |

