Re: [PATCH] c++/modules: Check linkage of structured binding decls

2025-01-20 Thread Jason Merrill
On 1/19/25 4:39 AM, Nathaniel Shead wrote: Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? OK. -- >8 -- When looking at PR c++/118513 I noticed that we don't currently check the linkage of structured binding declarations in modules. This patch adds those checks, and correct

[PATCH] c++/modules: Check linkage of structured binding decls

2025-01-19 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu, OK for trunk? -- >8 -- When looking at PR c++/118513 I noticed that we don't currently check the linkage of structured binding declarations in modules. This patch adds those checks, and corrects decl_linkage to properly recognise structured bind