[cfe-commits] r157194 - /cfe/trunk/lib/Sema/SemaObjCProperty.cpp

Fariborz Jahanian fjahanian at apple.com
Mon May 21 10:10:28 PDT 2012


Author: fjahanian
Date: Mon May 21 12:10:28 2012
New Revision: 157194

URL: http://llvm.org/viewvc/llvm-project?rev=157194&view=rev
Log:
Remove unused argument in my last patch.

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

Modified: cfe/trunk/lib/Sema/SemaObjCProperty.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaObjCProperty.cpp?rev=157194&r1=157193&r2=157194&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaObjCProperty.cpp (original)
+++ cfe/trunk/lib/Sema/SemaObjCProperty.cpp Mon May 21 12:10:28 2012
@@ -202,8 +202,7 @@
   return (ObjCPropertyDecl::PropertyAttributeKind)attributesAsWritten;
 }
 
-static bool LocPropertyAttribute(const Sema &sema,
-                                 ASTContext &Context, const char *attrName, 
+static bool LocPropertyAttribute( ASTContext &Context, const char *attrName, 
                                  SourceLocation LParenLoc, SourceLocation &Loc) {
   if (LParenLoc.isMacroID())
     return false;
@@ -672,7 +671,7 @@
       Diag(IC->getLocation(), diag::warn_auto_readonly_iboutlet_property);
       Diag(property->getLocation(), diag::note_property_declare);
       SourceLocation readonlyLoc;
-      if (LocPropertyAttribute(*this, Context, "readonly", 
+      if (LocPropertyAttribute(Context, "readonly", 
                                property->getLParenLoc(), readonlyLoc)) {
         SourceLocation endLoc = 
           readonlyLoc.getLocWithOffset(strlen("readonly")-1);





More information about the cfe-commits mailing list