r181583 - Typo and misc comment fix.

Richard Smith richard-llvm at metafoo.co.uk
Thu May 9 19:36:35 PDT 2013


Author: rsmith
Date: Thu May  9 21:36:35 2013
New Revision: 181583

URL: http://llvm.org/viewvc/llvm-project?rev=181583&view=rev
Log:
Typo and misc comment fix.

Modified:
    cfe/trunk/lib/Lex/Lexer.cpp

Modified: cfe/trunk/lib/Lex/Lexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Lexer.cpp?rev=181583&r1=181582&r2=181583&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/Lexer.cpp (original)
+++ cfe/trunk/lib/Lex/Lexer.cpp Thu May  9 21:36:35 2013
@@ -1870,7 +1870,9 @@ bool Lexer::SkipWhitespace(Token &Result
   // Whitespace - Skip it, then return the token after the whitespace.
   bool SawNewline = isVerticalWhitespace(CurPtr[-1]);
 
-  unsigned char Char = *CurPtr;  // Skip consequtive spaces efficiently.
+  unsigned char Char = *CurPtr;
+
+  // Skip consecutive spaces efficiently.
   while (1) {
     // Skip horizontal whitespace very aggressively.
     while (isHorizontalWhitespace(Char))
@@ -1886,7 +1888,7 @@ bool Lexer::SkipWhitespace(Token &Result
       return false;
     }
 
-    // ok, but handle newline.
+    // OK, but handle newline.
     SawNewline = true;
     Char = *++CurPtr;
   }





More information about the cfe-commits mailing list