[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-03-05 Thread Douglas Deslauriers via cfe-commits
vapdrs wrote: > @vapdrs Do you need us to merge that for you? Thanks Yes, I do not have write access to the repository. Thank you! https://github.com/llvm/llvm-project/pull/83476 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.ll

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-03-01 Thread Douglas Deslauriers via cfe-commits
https://github.com/vapdrs updated https://github.com/llvm/llvm-project/pull/83476 >From f66254c6be64a7270ce2df8556c540344ade0619 Mon Sep 17 00:00:00 2001 From: Douglas Deslauriers Date: Thu, 29 Feb 2024 20:18:34 + Subject: [PATCH] [clang] Sequence C++20 Parenthesized List Init Parenthesize

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-03-01 Thread Douglas Deslauriers via cfe-commits
https://github.com/vapdrs edited 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

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-02-29 Thread Douglas Deslauriers via cfe-commits
https://github.com/vapdrs updated https://github.com/llvm/llvm-project/pull/83476 >From cc14e7a3320c36295514b75108e4da481d2f6b99 Mon Sep 17 00:00:00 2001 From: Douglas Deslauriers Date: Thu, 29 Feb 2024 20:18:34 + Subject: [PATCH] [clang] Sequence C++20 Parenthesized List Init Parenthesize

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-02-29 Thread Douglas Deslauriers via cfe-commits
@@ -17626,6 +17626,25 @@ class SequenceChecker : public ConstEvaluatedExprVisitor { for (unsigned I = 0; I < Elts.size(); ++I) Tree.merge(Elts[I]); } + + void VisitCXXParenListInitExpr(const CXXParenListInitExpr *PLIE) { +// C++20 parenthesized list initializa

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-02-29 Thread Douglas Deslauriers via cfe-commits
@@ -17626,6 +17626,25 @@ class SequenceChecker : public ConstEvaluatedExprVisitor { for (unsigned I = 0; I < Elts.size(); ++I) Tree.merge(Elts[I]); } + + void VisitCXXParenListInitExpr(const CXXParenListInitExpr *PLIE) { +// C++20 parenthesized list initializa

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-02-29 Thread Douglas Deslauriers via cfe-commits
https://github.com/vapdrs updated https://github.com/llvm/llvm-project/pull/83476 >From 85958bdf181b0cb79716a35bc4f3248e8f31c527 Mon Sep 17 00:00:00 2001 From: Douglas Deslauriers Date: Thu, 29 Feb 2024 20:18:34 + Subject: [PATCH] [clang] Sequence C++20 Parenthesized List Init Parenthesize

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-02-29 Thread Douglas Deslauriers via cfe-commits
https://github.com/vapdrs edited 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

[clang] [clang] Sequence C++20 Parenthesized List Init (PR #83476)

2024-02-29 Thread Douglas Deslauriers via cfe-commits
https://github.com/vapdrs created https://github.com/llvm/llvm-project/pull/83476 Parenthesized list intializers are sequenced operations, see C++20 [decl.init]p17.5 and [decl.init]p17.6.2.2 for more details. Fixes #83474 >From 82e371bdcde2da8336b8679fff941f8b0a0394ae Mon Sep 17 00:00:00 2001