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

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 8 06:24:16 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();
 
----------------
zyn0217 wrote:

I reverted it and let's leave the cleanup in future

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


More information about the cfe-commits mailing list