[gcc patch 2/3] cp-demangle.c: New DMGL_RET_DROP

Ian Lance Taylor iant@google.com
Mon Jun 13 18:19:00 GMT 2011


On Thu, Jun 2, 2011 at 7:16 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
>
> include/
> 2011-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
>
>        * demangle.h (DMGL_RET_POSTFIX): Extend the comment.
>        (DMGL_RET_DROP): New.
>
> libiberty/
> 2011-05-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
>
>        * cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Do
>        not pass DMGL_RET_POSTFIX or DMGL_RET_DROP.  Support DMGL_RET_DROP.
>        * testsuite/demangle-expected: New testcases for --ret-drop.
>        * testsuite/test-demangle.c: Document --ret-drop in a comment.
>        (main): New variable ret_drop, fill it, call cplus_demangle with it.

This is OK.

Thanks.

Ian



More information about the Gcc-patches mailing list