summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-11-28 18:38:27 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-11-28 18:38:27 +0000
commit22b405c7aa4072847764cb989215efb0edfbecef (patch)
tree0e83d51bf15267a5d37da72a28dcee8c5efd2036 /clang/lib/Sema
parentf7a4ed7d7ff394bdcba34fd01e336d109f21fd12 (diff)
downloadbcm5719-llvm-22b405c7aa4072847764cb989215efb0edfbecef.tar.gz
bcm5719-llvm-22b405c7aa4072847764cb989215efb0edfbecef.zip
objc: turn warning for property type mismatch in
primary and its continuation class into error. // rdar://10142679 llvm-svn: 145255
Diffstat (limited to 'clang/lib/Sema')
-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 90d2d934315..c47a305b967 100644
--- a/clang/lib/Sema/SemaObjCProperty.cpp
+++ b/clang/lib/Sema/SemaObjCProperty.cpp
@@ -279,7 +279,7 @@ Sema::HandlePropertyInClassExtension(Scope *S,
if (PIDecl->getType().getCanonicalType()
!= PDecl->getType().getCanonicalType()) {
Diag(AtLoc,
- diag::warn_type_mismatch_continuation_class) << PDecl->getType();
+ diag::err_type_mismatch_continuation_class) << PDecl->getType();
Diag(PIDecl->getLocation(), diag::note_property_declare);
}
OpenPOWER on IntegriCloud