demangle.h (DMGL_RET_POSTFIX): Extend the comment.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 13 Jun 2011 22:32:40 +0000 (22:32 +0000)
committerJan Kratochvil <jkratoch@gcc.gnu.org>
Mon, 13 Jun 2011 22:32:40 +0000 (22:32 +0000)
commitf019462c62cdba9ffea92d81e0709cb3bcc05e70
tree24049e95658da009e3b8bd1958b7b0ead304b317
parent743a99db07908cbc7690ed1fb7c30f8d9e208a8e
demangle.h (DMGL_RET_POSTFIX): Extend the comment.

include/
* demangle.h (DMGL_RET_POSTFIX): Extend the comment.
(DMGL_RET_DROP): New.

libiberty/
* 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.

From-SVN: r175000
include/ChangeLog
include/demangle.h
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected
libiberty/testsuite/test-demangle.c