Skip to content

Commit f7c0b21

Browse files
committed
Update TokenLexer.cpp
1 parent 95b1805 commit f7c0b21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Lex/TokenLexer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,8 @@ bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream,
824824
}
825825
// [MSVC Compatibility] Handle "__FUNCTION__"##"string"
826826
if (LHSTok.is(tok::kw___FUNCTION__) && RHS.is(tok::string_literal)) {
827-
// Returns true the caller should immediately return the token.
828-
return true;
827+
// Returns false because we need to analyze later.
828+
return false;
829829
}
830830
// [MSVC Compatibility] Handle "string"##"string"
831831
if ((LHSTok.is(tok::string_literal) && RHS.is(tok::string_literal))) {

0 commit comments

Comments
 (0)