[clang] [clang] Fix comma location tracking inside ParenListExpr. (PR #199411)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 22 08:39:56 PDT 2026
================
@@ -3277,7 +3278,9 @@ bool Parser::ParseExpressionList(SmallVectorImpl<Expr *> &Exprs,
return SawError;
}
-bool Parser::ParseSimpleExpressionList(SmallVectorImpl<Expr *> &Exprs) {
+bool Parser::ParseSimpleExpressionList(
+ SmallVectorImpl<Expr *> &Exprs,
+ SmallVectorImpl<SourceLocation> *CommaLocs) {
----------------
erichkeane wrote:
Don't pass this as a pointer, pass it as a reference.
https://github.com/llvm/llvm-project/pull/199411
More information about the cfe-commits
mailing list