Currently when in -CC mode when processing a function like macro ReadMacroParameterList(...) does not handle the case where there is a comment embedded in the parameter-list. Instead of using LexUnexpandedToken(...) I switched to using LexUnexpandedNonComment(...) which eats comments while lexing. Fixes: https://github.com/llvm/llvm-project/issues/60887 Differential Revision: https://reviews.llvm.org/D144511
730 B
730 B