Re: [pushed] c++: Implement C++20 'using enum'. [PR91367]

2020-11-30 Thread Iain Buclaw via Gcc-patches
Excerpts from Jason Merrill via Gcc-patches's message of November 13, 2020 7:35 pm: > > The changes to dwarf2out revealed an existing issue with the D front-end: we > were doing the wrong thing for importing a D CONST_DECL, because > dwarf2out_imported_module_or_decl_1 was looking through it to

Re: [pushed] c++: Implement C++20 'using enum'. [PR91367]

2020-11-13 Thread Nathan Sidwell
On 11/13/20 1:35 PM, Jason Merrill via Gcc-patches wrote: This feature allows the programmer to import enumerator names into the current scope so later mentions don't need to use the fully-qualified name. These usings are not subject to the usual restrictions on using-declarations: in

[pushed] c++: Implement C++20 'using enum'. [PR91367]

2020-11-13 Thread Jason Merrill via Gcc-patches
This feature allows the programmer to import enumerator names into the current scope so later mentions don't need to use the fully-qualified name. These usings are not subject to the usual restrictions on using-declarations: in particular, they can move between class and non-class scopes, and