================
@@ -2832,6 +2832,13 @@ TemplateInstantiator::TransformNestedRequirement(
ASTContext &C = SemaRef.Context;
+ if (Req->hasInvalidConstraint()) {
+ if (AlwaysRebuild())
+ return RebuildNestedRequirement(Req->getInvalidConstraintEntity(),
+ Req->getConstraintSatisfaction());
+ return Req;
+ }
+
Expr *Constraint = Req->getConstraintExpr();
----------------
zyn0217 wrote:
Can we instead move line 2842 down to where Constraint is actually used, i.e.
to the line after ~2854? We would have less changes then.
https://github.com/llvm/llvm-project/pull/213660
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits