Re: [PATCH 3/3] c++/modules: Treat unattached lambdas as TU-local

2025-01-24 Thread Jason Merrill
On 1/23/25 10:16 AM, Nathaniel Shead wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? OK. -- >8 -- This fixes ICEs where unattached lambdas at class scope (for instance, in member template instantiations) are streamed. This is only possible in header units, as in name

[PATCH 3/3] c++/modules: Treat unattached lambdas as TU-local

2025-01-23 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? -- >8 -- This fixes ICEs where unattached lambdas at class scope (for instance, in member template instantiations) are streamed. This is only possible in header units, as in named modules attempting to stream such lambdas will be a