[cfe-commits] r63324 - /cfe/trunk/lib/Sema/SemaDeclObjC.cpp

Chris Lattner sabre at nondot.org
Thu Jan 29 10:49:48 PST 2009


Author: lattner
Date: Thu Jan 29 12:49:48 2009
New Revision: 63324

URL: http://llvm.org/viewvc/llvm-project?rev=63324&view=rev
Log:
diags moved, so these casts are no longer needed.

Modified:
    cfe/trunk/lib/Sema/SemaDeclObjC.cpp

Modified: cfe/trunk/lib/Sema/SemaDeclObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclObjC.cpp?rev=63324&r1=63323&r2=63324&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclObjC.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclObjC.cpp Thu Jan 29 12:49:48 2009
@@ -1432,8 +1432,8 @@
                           "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;
   }
 





More information about the cfe-commits mailing list