Re: [PATCH] c++: Fix up modules handling of namespace scope structured bindings

2025-01-09 Thread Jason Merrill
On 1/7/25 2:48 PM, Jakub Jelinek wrote: Hi! With the following patch I actually get a simple namespace scope structured binding working with modules. The core_vals change ensure we actually save/restore DECL_VALUE_EXPR even for namespace scope vars, the get_merge_kind is based on the assumption

[PATCH] c++: Fix up modules handling of namespace scope structured bindings

2025-01-07 Thread Jakub Jelinek
Hi! With the following patch I actually get a simple namespace scope structured binding working with modules. The core_vals change ensure we actually save/restore DECL_VALUE_EXPR even for namespace scope vars, the get_merge_kind is based on the assumption that structured bindings are always uniqu