diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-10-04 18:44:26 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-10-04 18:44:26 +0000 |
| commit | f2a7b0eade7bf3a0ab18c7bf550030a196f74ad3 (patch) | |
| tree | fc94905c91f8fd799168541e125c0d63c113d067 /clang/lib | |
| parent | 83e84faa8f0104f5eb4a963b3eba456b5004e4ba (diff) | |
| download | bcm5719-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.cpp | 2 |
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); } |

