aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaObjCProperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaObjCProperty.cpp')
-rw-r--r--lib/Sema/SemaObjCProperty.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp
index 8c8af1389b..160a3fa4e8 100644
--- a/lib/Sema/SemaObjCProperty.cpp
+++ b/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);