[clang] [clang-tools-extra] [clang] Concepts: support pack expansions for type constraints (PR #132626)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 24 02:51:38 PDT 2025
================
@@ -78,6 +78,16 @@ class UnresolvedSetImpl;
class VarTemplateDecl;
enum class ImplicitParamKind;
+struct AssociatedConstraint {
+ const Expr *ConstraintExpr;
+ int ArgumentPackSubstitutionIndex;
+
+ constexpr AssociatedConstraint(const Expr *ConstraintExpr,
----------------
cor3ntin wrote:
The constexpr doesn't do anything useful for us, and we don't usually make things constexpr if we don't intend to use them at compile time
https://github.com/llvm/llvm-project/pull/132626
More information about the cfe-commits
mailing list