================
@@ -691,11 +691,15 @@ bool Sema::CheckFunctionConstraints(const FunctionDecl 
*FD,
   // A lambda conversion operator has the same constraints as the call operator
   // and constraints checking relies on whether we are in a lambda call 
operator
   // (and may refer to its parameters), so check the call operator instead.
+  // Note that the declarations outside of the lambda should also be
+  // incorporated. Turning on the 'ForOverloadResolution' flag results in the
----------------
cor3ntin wrote:

```suggestion
  // considered. Turning on the 'ForOverloadResolution' flag results in the
```


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