[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)
Douglas Deslauriers via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 29 13:09:27 PST 2024
================
@@ -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
----------------
vapdrs wrote:
Resolved, also updated issue and PR description
https://github.com/llvm/llvm-project/pull/83476
More information about the cfe-commits
mailing list