================ @@ -70,7 +70,14 @@ struct alignas(ConstraintAlignment) AtomicConstraint { // We do not actually substitute the parameter mappings into the // constraint expressions, therefore the constraint expressions are // the originals, and comparing them will suffice. - if (ConstraintExpr != Other.ConstraintExpr) + if (AC.ConstraintExpr != Other.AC.ConstraintExpr) + return false; + + // FIXME: As the normalization cache doesn't take + // ArgumentPackSubstitutionIndex into account, + // this won't have an effect. + if (AC.ArgumentPackSubstitutionIndex != + Other.AC.ArgumentPackSubstitutionIndex) ---------------- mizvekov wrote:
@zygoloid thoughts? https://github.com/llvm/llvm-project/pull/132626 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits