[llvm-branch-commits] [clang] [Clang] [C++26] Expansion Statements (Part 2: Parsing and Parser Tests) (PR #169681)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 1 07:44:31 PST 2025


================
@@ -4186,7 +4188,8 @@ class Parser : public CodeCompletionHandler {
   bool ParseExpressionList(SmallVectorImpl<Expr *> &Exprs,
                            llvm::function_ref<void()> ExpressionStarts =
                                llvm::function_ref<void()>(),
-                           bool FailImmediatelyOnInvalidExpr = false);
+                           bool FailImmediatelyOnInvalidExpr = false,
+                           bool StopAtRBraceAfterComma = false);
----------------
Sirraide wrote:

It has something to do w/ trailing commas; I don’t remember exactly how this works so this definitely needs a comment

https://github.com/llvm/llvm-project/pull/169681


More information about the llvm-branch-commits mailing list