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

Erich Keane via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 1 16:39:23 PDT 2025


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

Ah, hrmph.  This is really unergonomic, and I would really like to see all uses of this do a better job at making sure they are working with the constraints.  That said, I get the objection at least near term, and am OK with leaving this as-is now, and put on the 'TODO' list.

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


More information about the llvm-branch-commits mailing list