]> granicus.if.org Git - clang/commitdiff
minor tidy.
authorChris Lattner <sabre@nondot.org>
Fri, 4 Dec 2009 06:14:03 +0000 (06:14 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 4 Dec 2009 06:14:03 +0000 (06:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90543 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/TokenLexer.cpp

index f006f5ae55bb005ff62b500191a3a5b92644aa77..5f70b056944a956623b90132982138ec94c7c886 100644 (file)
@@ -321,13 +321,12 @@ void TokenLexer::Lex(Token &Tok) {
 
   // If this token is followed by a token paste (##) operator, paste the tokens!
   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.
+    // When handling the microsoft /##/ extension, the final token is
+    // returned by PasteTokens, not the pasted token.
+    if (PasteTokens(Tok))
       return;
-    } else {
-      TokenIsFromPaste = true;
-    }
+    
+    TokenIsFromPaste = true;
   }
 
   // The token's current location indicate where the token was lexed from.  We