diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-08-01 22:39:49 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-08-01 22:39:49 +0000 |
commit | e1506cbfda00a5cf257440016f47011912b4f250 (patch) | |
tree | 96183998c232c75ecfe6036a3c49a005e1fe8505 /clang/lib/Sema/SemaObjCProperty.cpp | |
parent | 2bd3af1e893043b0c8658b585a5b5def5ff433b3 (diff) | |
download | bcm5719-llvm-e1506cbfda00a5cf257440016f47011912b4f250.tar.gz bcm5719-llvm-e1506cbfda00a5cf257440016f47011912b4f250.zip |
objective-c: reverse patch for // rdar://9818354
llvm-svn: 136658
Diffstat (limited to 'clang/lib/Sema/SemaObjCProperty.cpp')
-rw-r--r-- | clang/lib/Sema/SemaObjCProperty.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp index 8c8af1389b9..160a3fa4e8c 100644 --- a/clang/lib/Sema/SemaObjCProperty.cpp +++ b/clang/lib/Sema/SemaObjCProperty.cpp @@ -555,14 +555,6 @@ Decl *Sema::ActOnPropertyImplDecl(Scope *S, return 0; } } - if ((IC->meth_begin() != IC->meth_end()) && AtLoc.isValid()) { - if (getLangOptions().ObjCAutoRefCount) - Diag(AtLoc, diag::error_property_after_method_impl); - else - Diag(AtLoc, diag::warn_property_after_method_impl); - ObjCMethodDecl *method = *(IC->meth_begin()); - Diag(method->getLocation(), diag::note_method_declared_at); - } } else if ((CatImplClass = dyn_cast<ObjCCategoryImplDecl>(ClassImpDecl))) { if (Synthesize) { Diag(AtLoc, diag::error_synthesize_category_decl); |