This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13447] Another demangler problem with method cv-qualifiers


------- Additional Comments From drow at mvista dot com  2003-12-19 18:36 -------
Subject: Re:  New: Another demangler problem with method cv-qualifiers

On Fri, Dec 19, 2003 at 01:28:30PM -0500, Ian Lance Taylor wrote:
> The mangled name is _ZNK1C1fIiEEPFivEv, which currently demangles as
> 
> int (*C::f<int>() const)()
> 
> That more or less corresponds to the declaration.  However, I don't
> know whether this is correct C++.

I believe it's correct C++.  At least, it exercises the bits of my
parser most closely based on the standard, and I parse it exactly as
above.  The CONST_THIS gets attached to the function_arglist used for
the method itself, not the return type.

Dan


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13447


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]