summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-10-04 18:44:26 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-10-04 18:44:26 +0000
commitf2a7b0eade7bf3a0ab18c7bf550030a196f74ad3 (patch)
treefc94905c91f8fd799168541e125c0d63c113d067 /clang/lib
parent83e84faa8f0104f5eb4a963b3eba456b5004e4ba (diff)
downloadbcm5719-llvm-f2a7b0eade7bf3a0ab18c7bf550030a196f74ad3.tar.gz
bcm5719-llvm-f2a7b0eade7bf3a0ab18c7bf550030a196f74ad3.zip
objc: Turn diagnostic on property type mismatch in
continuation class into warning. // rdar://10231514 llvm-svn: 141100
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaObjCProperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaObjCProperty.cpp b/clang/lib/Sema/SemaObjCProperty.cpp
index 80c44090748..880e9bfb2b2 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -238,7 +238,7 @@ Sema::HandlePropertyInClassExtension(Scope *S,
if (PIDecl->getType().getCanonicalType()
!= PDecl->getType().getCanonicalType()) {
Diag(AtLoc,
- diag::error_type_mismatch_continuation_class) << PDecl->getType();
+ diag::warn_type_mismatch_continuation_class) << PDecl->getType();
Diag(PIDecl->getLocation(), diag::note_property_declare);
}
OpenPOWER on IntegriCloud