================
@@ -2312,6 +2269,14 @@ bool 
SubstituteParameterMappings::substitute(NormalizedConstraint &N) {
     }
     assert(!ArgsAsWritten);
     const ConceptSpecializationExpr *CSE = CC.getConceptSpecializationExpr();
+    // This is to make sure that lambdas within template arguments live in a
+    // dependent context such that they are assured to be transformed in
+    // evaluation.
----------------
cor3ntin wrote:

```suggestion
    // Make sure that lambdas within template arguments live in a
    // dependent context such that they are assured to be transformed during 
constraint
    // evaluation.
```

https://github.com/llvm/llvm-project/pull/195995
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to