[llvm-branch-commits] [clang] [clang-tools-extra] [clang] support pack expansions for trailing requires clauses (PR #133190)

Matheus Izvekov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 1 16:09:19 PDT 2025


================
@@ -7379,8 +7378,11 @@ bool ASTContext::isSameEntity(const NamedDecl *X, const NamedDecl *Y) const {
       return false;
     }
 
-    if (!isSameConstraintExpr(FuncX->getTrailingRequiresClause(),
----------------
mizvekov wrote:

Minor preference for not doing that at this point, since this is the only user which looks at an AssociatedConstraint,
most of the other users are still on expressions, and it's not clear which ones can be pack expanded in such a way to need the same treatment in future patches.

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


More information about the llvm-branch-commits mailing list