]> granicus.if.org Git - clang/commitdiff
Correct typos and whitespace, spotted by Nico Weber!
authorNick Lewycky <nicholas@mxc.ca>
Sun, 31 Oct 2010 21:07:24 +0000 (21:07 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 31 Oct 2010 21:07:24 +0000 (21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117871 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Rewrite/RewriteObjC.cpp

index 3d54816c4c0654dd90ab11eb39cfaf6b95bccc60..19fc9e239de8dd40bce628771b5e6a132871a1b9 100644 (file)
@@ -155,7 +155,7 @@ namespace {
 
     bool DisableReplaceStmt;
 
-    static const int OBJC_ABI_VERSION =;
+    static const int OBJC_ABI_VERSION = 7;
   public:
     virtual void Initialize(ASTContext &context);
 
@@ -195,7 +195,7 @@ namespace {
     }
 
     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 @@ Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) {
             continue;
           }
         }
-      }
+    }
 
   if (BlockExpr *BE = dyn_cast<BlockExpr>(S)) {
     llvm::SmallVector<BlockDeclRefExpr *, 8> InnerBlockDeclRefs;