[clang] [clang-tools-extra] [clang][refactor] Refactor `findNextTokenIncludingComments` (PR #123060)
Shafik Yaghmour via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 16 13:24:12 PST 2025
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
More information about the cfe-commits
mailing list