This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13447] Another demangler problem with method cv-qualifiers
- From: "drow at mvista dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2003 18:36:17 -0000
- Subject: [Bug c++/13447] Another demangler problem with method cv-qualifiers
- References: <20031219155953.13447.drow@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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