[cfe-commits] r117871 - /cfe/trunk/lib/Rewrite/RewriteObjC.cpp

Nick Lewycky nicholas at mxc.ca
Sun Oct 31 14:07:24 PDT 2010


Author: nicholas
Date: Sun Oct 31 16:07:24 2010
New Revision: 117871

URL: http://llvm.org/viewvc/llvm-project?rev=117871&view=rev
Log:
Correct typos and whitespace, spotted by Nico Weber!

Modified:
    cfe/trunk/lib/Rewrite/RewriteObjC.cpp

Modified: cfe/trunk/lib/Rewrite/RewriteObjC.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/RewriteObjC.cpp?rev=117871&r1=117870&r2=117871&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/RewriteObjC.cpp (original)
+++ cfe/trunk/lib/Rewrite/RewriteObjC.cpp Sun Oct 31 16:07:24 2010
@@ -155,7 +155,7 @@
 
     bool DisableReplaceStmt;
 
-    static const int OBJC_ABI_VERSION =7 ;
+    static const int OBJC_ABI_VERSION = 7;
   public:
     virtual void Initialize(ASTContext &context);
 
@@ -195,7 +195,7 @@
     }
 
     void ReplaceStmtWithRange(Stmt *Old, Stmt *New, SourceRange SrcRange) {
-      // Measaure the old text.
+      // Measure the old text.
       int Size = Rewrite.getRangeSize(SrcRange);
       if (Size == -1) {
         Diags.Report(Context->getFullLoc(Old->getLocStart()), RewriteFailedDiag)
@@ -5448,7 +5448,7 @@
             continue;
           }
         }
-      }
+    }
 
   if (BlockExpr *BE = dyn_cast<BlockExpr>(S)) {
     llvm::SmallVector<BlockDeclRefExpr *, 8> InnerBlockDeclRefs;





More information about the cfe-commits mailing list