================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to