Re: [PATCH] c++/modules: Support exporting using-decls in same namespace as target

2024-03-04 Thread Jason Merrill
On 3/3/24 18:11, Nathaniel Shead wrote: Came across this issue while working on another PR. Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? Or otherwise for GCC 15? OK. -- >8 -- Currently a using-declaration bringing a name into its own namespace is a no-op, except for func

[PATCH] c++/modules: Support exporting using-decls in same namespace as target

2024-03-03 Thread Nathaniel Shead
Came across this issue while working on another PR. Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? Or otherwise for GCC 15? -- >8 -- Currently a using-declaration bringing a name into its own namespace is a no-op, except for functions. This prevents people from being able to re