================
@@ -961,6 +961,7 @@ static const Expr
*SubstituteConstraintExpressionWithoutSatisfaction(
if (MLTAL.getNumSubstitutedLevels() == 0)
return ConstrExpr;
+ MLTAL.setKind(TemplateSubstitutionKind::Rewrite);
----------------
zyn0217 wrote:
I remember I had tried using RewriteKind while fixing the mismatched constraint
issue. But that turned out to cause some regressions/crashes in the end. Don't
know what kind of situation it would be with this patch.
https://github.com/llvm/llvm-project/pull/107942
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits