[clang] [Clang] Implement CWG 2628 "Implicit deduction guides should propagate constraints" (PR #111143)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 24 08:18:08 PST 2025
================
@@ -390,7 +393,7 @@ struct ConvertConstructorToDeductionGuideTransform {
/*EvaluateConstraint=*/false);
}
- assert(NewParam->getTemplateDepth() == 0 &&
+ assert(getDepthAndIndex(NewParam).first == 0 &&
----------------
hokein wrote:
A heads-up: we're encountering clang crashes on this assertion. I'm working on a minimal reproducer.
https://github.com/llvm/llvm-project/pull/111143
More information about the cfe-commits
mailing list