Re: [PATCH 2/3] c++: Clear lambda scope for unattached member template lambdas

2025-02-07 Thread Jason Merrill
On 1/31/25 8:45 AM, Nathaniel Shead wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? OK. -- >8 -- In r15-7202 we made lambdas between a template parameter scope and a class/function/initializer be considered TU-local, in lieu of working out how to mangle them to the su

[PATCH 2/3] c++: Clear lambda scope for unattached member template lambdas

2025-01-31 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? -- >8 -- In r15-7202 we made lambdas between a template parameter scope and a class/function/initializer be considered TU-local, in lieu of working out how to mangle them to the succeeding declaration. I neglected to clear any exis