From: Chris Lattner Date: Thu, 29 Jan 2009 18:49:48 +0000 (+0000) Subject: diags moved, so these casts are no longer needed. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28372fa7f66e5c4f551f694373cba2aded3aa155;p=clang diags moved, so these casts are no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63324 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 5677bc5e09..3371e3ea6e 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -1432,8 +1432,8 @@ void Sema::CheckObjCPropertyAttributes(QualType PropertyTy, "copy" : "retain"; Diag(Loc, (Attributes & (ObjCDeclSpec::DQ_PR_readwrite)) ? - (unsigned)diag::err_objc_property_attr_mutually_exclusive : - (unsigned)diag::warn_objc_property_attr_mutually_exclusive) + diag::err_objc_property_attr_mutually_exclusive : + diag::warn_objc_property_attr_mutually_exclusive) << "readonly" << which; }