This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] libiberty: support demangling of rvalue reference typenames
- From: Ian Lance Taylor <ian at airs dot com>
- To: Artemiy Volkov <artemiyv at acm dot org>
- Cc: gcc-patches at gcc dot gnu dot org, dj at redhat dot com
- Date: Mon, 04 Jan 2016 22:06:44 -0800
- Subject: Re: [PATCH] libiberty: support demangling of rvalue reference typenames
- Authentication-results: sourceware.org; auth=none
- References: <1451958209-29170-1-git-send-email-artemiyv at acm dot org>
Artemiy Volkov <artemiyv@acm.org> writes:
> This patch adds handling of 'O' (rvalue ref) type codes in the C++ demangling
> code which is done similarly to the 'R' (regular references) case. It also adds
> a few testcases for various demangling styles which are just mirrored versions
> of the corresponding regular references demangling tests.
>
> libiberty/ChangeLog:
>
> 2016-01-04 Artemiy Volkov <artemiyv@acm.org>
>
> * cplus-dem.c (enum type_kind_t): Add tk_rvalue_reference
> constant.
> (demangle_template_value_parm): Handle tk_rvalue_reference
> type kind.
> (do_type): Support 'O' type id (rvalue references).
Is there a compiler that actually generate these symbols?
Ian