================
@@ -7976,7 +7976,8 @@ void Sema::AddConversionCandidate(
 
   if (Conversion->getTrailingRequiresClause()) {
     ConstraintSatisfaction Satisfaction;
-    if (CheckFunctionConstraints(Conversion, Satisfaction) ||
+    if (CheckFunctionConstraints(Conversion, Satisfaction, /*UsageLoc=*/{},
----------------
zyn0217 wrote:

Hmm... Yes, the flag would tell the LSI to look into its parents as well, 
although we don't have any coverage test cases for it yet. Maybe I think we can 
narrow it down to the inside of CheckFunctionConstraints.

https://github.com/llvm/llvm-project/pull/83420
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to