diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-10-31 21:07:24 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-10-31 21:07:24 +0000 |
commit | 7e7492442f32e3abbe246f6bb35568b044c1188b (patch) | |
tree | 134c2e53065ec062f1c44f63562dc7e8a13c54fe /lib/Rewrite/RewriteObjC.cpp | |
parent | aa81908f7a649ade93036b5f30b91307e20cb464 (diff) |
Correct typos and whitespace, spotted by Nico Weber!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/RewriteObjC.cpp')
-rw-r--r-- | lib/Rewrite/RewriteObjC.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Rewrite/RewriteObjC.cpp b/lib/Rewrite/RewriteObjC.cpp index 3d54816c4c..19fc9e239d 100644 --- a/lib/Rewrite/RewriteObjC.cpp +++ b/lib/Rewrite/RewriteObjC.cpp @@ -155,7 +155,7 @@ namespace { 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 @@ 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; |