================
@@ -17626,6 +17626,25 @@ class SequenceChecker : public 
ConstEvaluatedExprVisitor<SequenceChecker> {
     for (unsigned I = 0; I < Elts.size(); ++I)
       Tree.merge(Elts[I]);
   }
+
+  void VisitCXXParenListInitExpr(const CXXParenListInitExpr *PLIE) {
+    // C++20 parenthesized list initializations are sequenced. See C++20
+    // [decl.init]p17.5 and [decl.init]p17.6.2.2
----------------
zygoloid wrote:

I think you mean `dcl.init.general`, not `decl.init` here, and the wording is 
in p16 not p17 in C++20 and the current working paper.
```suggestion
    // [dcl.init.general]p16.5 and [dcl.init.general]p16.6.2.2.
```

https://github.com/llvm/llvm-project/pull/83476
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to