[cxx-abi-dev] Proposal: missing mangling of elaborated type specifiers

John McCall rjmccall at apple.com
Wed Mar 26 20:59:10 UTC 2014


On Mar 26, 2014, at 1:46 PM, Hubert Tong <hstong at ca.ibm.com> wrote:
> John McCall <rjmccall at apple.com> wrote on 26-03-2014 03:54:40 PM:
> > From: John McCall <rjmccall at apple.com>
> > To: Richard Smith <richardsmith at google.com>, 
> > Cc: Hubert Tong/Toronto/IBM at IBMCA, "cxx-abi-dev at codesourcery.com" 
> > <cxx-abi-dev at codesourcery.com>
> > Date: 26-03-2014 03:54 PM
> > Subject: Re: [cxx-abi-dev] Missing mangling of elaborated type specifiers
> > 
> > On Mar 26, 2014, at 12:23 PM, Richard Smith <richardsmith at google.com> wrote:
> > On 26 March 2014 11:59, John McCall <rjmccall at apple.com> wrote:
> > I agree that the benefit of a demangler being able to say whether 
> > it's got a class or struct is marginal. Maybe drop the 'TC' mangling
> > and keep the other three?
> > 
> > Sounds good to me.
> Agreed. The proposal I had in the works was substantially similar (option 2 with no class/struct distinction).
> I think we can move forward with the proposal presented by Richard.

Okay, so this is the proposal under review:

<class-enum-type> ::= <name>    # non-dependent or dependent type name or dependent elaborated type specifier using ‘typename'
                  ::= Ts <name> # dependent elaborated type specifier using ‘struct’ or ‘class'
                  ::= Tu <name> # dependent elaborated type specifier using ‘union'
                  ::= Te <name> # dependent elaborated type specifier using ‘enum’

If I hear no objections by the end of next week, I’ll go ahead and commit this.

John.


More information about the cxx-abi-dev mailing list