================ @@ -711,9 +711,32 @@ bool Sema::addInstantiatedCapturesToScope( unsigned Instantiated = 0; + // FIXME: This is a workaround for not having deferred lambda body + // instantiation. + // When transforming a lambda's body, if we encounter another call to an + // inline lambda that contains a constraint expression, we add all of the + // parent lambda's instantiated captures to the current instantiation scope to ---------------- cor3ntin wrote:
```suggestion // outer lambda's instantiated captures to the current instantiation scope to ``` https://github.com/llvm/llvm-project/pull/128478 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits