diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-10 02:36:35 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-05-10 02:36:35 +0000 |
commit | 0f7f6f1abc511338738404d858c35093b5fb712a (patch) | |
tree | 2035d652cea6f36744194d209aec692449e1f80f /clang/lib/Lex/Lexer.cpp | |
parent | 58a6208976a818aba7379b529ff3202387cec1e7 (diff) | |
download | bcm5719-llvm-0f7f6f1abc511338738404d858c35093b5fb712a.tar.gz bcm5719-llvm-0f7f6f1abc511338738404d858c35093b5fb712a.zip |
Typo and misc comment fix.
llvm-svn: 181583
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r-- | clang/lib/Lex/Lexer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp index 9958287ba47..66498b1a2c9 100644 --- a/clang/lib/Lex/Lexer.cpp +++ b/clang/lib/Lex/Lexer.cpp @@ -1870,7 +1870,9 @@ bool Lexer::SkipWhitespace(Token &Result, const char *CurPtr) { // 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, const char *CurPtr) { return false; } - // ok, but handle newline. + // OK, but handle newline. SawNewline = true; Char = *++CurPtr; } |