Re: [PATCH] c++/modules: handle templates in exported using-declarations [PR106849]

2023-11-09 Thread Nathan Sidwell
On 11/9/23 16:06, Nathaniel Shead wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu. -- >8 -- A TEMPLATE_DECL does not have module attachment flags associated with it, so this patch extracts the result from the template to read the flags from there instead. oh yeah. my original plan

[PATCH] c++/modules: handle templates in exported using-declarations [PR106849]

2023-11-09 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu. -- >8 -- A TEMPLATE_DECL does not have module attachment flags associated with it, so this patch extracts the result from the template to read the flags from there instead. As a drive-by fix we also group the error with its informative note.