https://github.com/shafik commented:

`Lexer::findNextToken` has an additional check:

`if (!Lexer::isAtEndOfMacroExpansion(Loc, SM, LangOpts, &Loc))`

Does this not change behavior in the case we are replacing? I imagine folks 
just copied from `Lexer::findNextToken` and purposely left this out, is that 
wrong?

https://github.com/llvm/llvm-project/pull/123060
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to