Re: c++: header unit template alias merging [PR 98770]

2021-01-28 Thread Nathan Sidwell
On 1/28/21 7:54 AM, Nathan Sidwell wrote: Typedefs are streamed by streaming the underlying type, and then recreating the typedef.  But this breaks checking a duplicate is the same as the original when it is a template alias -- we end up checking a template alias (eg __void_t) against the underl

c++: header unit template alias merging [PR 98770]

2021-01-28 Thread Nathan Sidwell
Typedefs are streamed by streaming the underlying type, and then recreating the typedef. But this breaks checking a duplicate is the same as the original when it is a template alias -- we end up checking a template alias (eg __void_t) against the underlying type (void). And those are not the sam