[clang] Reapply "[Clang] Transform lambda's constraints when instantiating parameter mapping (PR #207966)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 7 06:10:10 PDT 2026


================
@@ -1028,7 +1021,7 @@ ExprResult ConstraintSatisfactionChecker::EvaluateSlow(
       ConceptId->getFoundDecl(), ConceptId->getNamedConcept(), &OutArgs,
       /*DoCheckConstraintSatisfaction=*/false);
 
-  if (SubstitutedConceptId.isInvalid() || Trap.hasErrorOccurred())
+  if (SubstitutedConceptId.isInvalid())
     return ExprError();
 
----------------
cor3ntin wrote:

Can you explain this? Sfinae errors should be caught here

https://github.com/llvm/llvm-project/pull/207966


More information about the cfe-commits mailing list