diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-11-28 18:38:27 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-11-28 18:38:27 +0000 |
commit | d3c147f4b225a8372c90e07ae3eed0dca9ffb33f (patch) | |
tree | 84d77c4fa0067dc46dbc04744b48815203ff7bea /lib/Sema/SemaObjCProperty.cpp | |
parent | a1e3e8c94e0878b2d5c54eb23ac07f1a05db0b6f (diff) |
objc: turn warning for property type mismatch in
primary and its continuation class into error.
// rdar://10142679
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaObjCProperty.cpp')
-rw-r--r-- | lib/Sema/SemaObjCProperty.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaObjCProperty.cpp b/lib/Sema/SemaObjCProperty.cpp index 90d2d93431..c47a305b96 100644 --- a/lib/Sema/SemaObjCProperty.cpp +++ b/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); } |