================ @@ -89,10 +89,6 @@ SourceLocation findNextAnyTokenKind(SourceLocation Start, } } -std::optional<Token> -findNextTokenIncludingComments(SourceLocation Start, const SourceManager &SM, - const LangOptions &LangOpts); - ---------------- cor3ntin wrote:
I think you could keep that, and just use `Lexer::findNextToken` as its implementation (it would avoid the `/*IncludeComments=*/true` everywhere) 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