aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/TokenLexer.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-04-25 22:20:56 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-04-25 22:20:56 +0000
commit617bd458600c6d68ffbe1328806b58384bde848a (patch)
treeb9f86fb78a8f358759afa8e8edb5c4042129f1fc /lib/Lex/TokenLexer.cpp
parent3bf6893b77c30cb774100e0fa7ae029331675ec1 (diff)
Silence gcc warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70086 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/TokenLexer.cpp')
-rw-r--r--lib/Lex/TokenLexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Lex/TokenLexer.cpp b/lib/Lex/TokenLexer.cpp
index 7ff473f090..da85a98a19 100644
--- a/lib/Lex/TokenLexer.cpp
+++ b/lib/Lex/TokenLexer.cpp
@@ -311,7 +311,7 @@ void TokenLexer::Lex(Token &Tok) {
bool TokenIsFromPaste = false;
// If this token is followed by a token paste (##) operator, paste the tokens!
- if (!isAtEnd() && Tokens[CurToken].is(tok::hashhash))
+ if (!isAtEnd() && Tokens[CurToken].is(tok::hashhash)) {
if (PasteTokens(Tok)) {
// When handling the microsoft /##/ extension, the final token is
// returned by PasteTokens, not the pasted token.
@@ -319,7 +319,7 @@ void TokenLexer::Lex(Token &Tok) {
} else {
TokenIsFromPaste = true;
}
-
+ }
// The token's current location indicate where the token was lexed from. We
// need this information to compute the spelling of the token, but any