summaryrefslogtreecommitdiffstats
path: root/clang/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
commit37e663df63b3dbcf20ae421c24824d579c4ae862 (patch)
tree2cdf9a2d0d67a6d9d5cfacbd088fa2381f5ab90f /clang/lib/Lex/TokenLexer.cpp
parent73b5b5adae5fbacb1d48cdfebdff3a669cb79261 (diff)
downloadbcm5719-llvm-37e663df63b3dbcf20ae421c24824d579c4ae862.tar.gz
bcm5719-llvm-37e663df63b3dbcf20ae421c24824d579c4ae862.zip
Silence gcc warnings.
llvm-svn: 70086
Diffstat (limited to 'clang/lib/Lex/TokenLexer.cpp')
-rw-r--r--clang/lib/Lex/TokenLexer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/TokenLexer.cpp b/clang/lib/Lex/TokenLexer.cpp
index 7ff473f090b..da85a98a199 100644
--- a/clang/lib/Lex/TokenLexer.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud