[PATCH v3 05/11] [PR gdb/14441] gdb: demangle: implement demangling for rvalue reference typenames

Keith Seitz keiths@redhat.com
Wed Mar 16 22:25:00 GMT 2016


On 03/04/2016 07:19 PM, Artemiy Volkov wrote:
> This patch fixes demangling of names containing rvalue reference typenames by
> handling DEMANGLE_COMPONENT_RVALUE_REFERENCE demangle component.
> 
> gdb/ChangeLog:
> 
> 2016-03-04  Artemiy Volkov  <artemiyv@acm.org>
> 
>     * cp-name-parser.y (ptr_operator): Handle the '&&' token in
>     typename.
>     * cp-support.c (replace_typedefs): Handle
>     DEMANGLE_COMPONENT_RVALUE_REFERENCE.
>     * python/py-type.c (typy_lookup_type): Likewise.
> ---
>  gdb/cp-name-parser.y | 4 ++++
>  gdb/cp-support.c     | 1 +
>  gdb/python/py-type.c | 4 ++++
>  3 files changed, 9 insertions(+)
> 

This all looks okay to me.

Keith



More information about the Gdb-patches mailing list