[PATCH] D47875: [MS ABI] Mangle unnamed empty enums (PR37723)

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 7 07:58:52 PDT 2018


On Thu, Jun 7, 2018 at 4:05 PM, Richard Smith via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> struct S { enum {} e; };
>
> ... then do something with decltype(S::e). What happens if there are two
> such types in the class?

The bug doesn't reproduce if the enumeration has a name, which is why
it's hard to reference :-)


More information about the cfe-commits mailing list