[PATCH] D119544: Deferred Concept Instantiation Implementation

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 08:48:22 PDT 2022


erichkeane added a comment.

In D119544#3459169 <https://reviews.llvm.org/D119544#3459169>, @tahonermann wrote:

>> I wouldn't think so either? In this case the problem is that 'u' is not in the re-manufactured scope, I think there is a bit of work to make sure that lambdas ALSO get the scope of their containing function, if they are in a functiondecl.
>
> I wouldn't expect lambdas to require special handling; I think they should be handled via their transformation to a member function of a dependent local class or dependent member class.

Yeah, its not lambda-specific, thats just the example here.  The example you gave offline shows that this is the case with a dependent local class as well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119544/new/

https://reviews.llvm.org/D119544



More information about the cfe-commits mailing list