OSDN Git Service

include/
authorjkratoch <jkratoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jun 2011 22:32:40 +0000 (22:32 +0000)
committerjkratoch <jkratoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 13 Jun 2011 22:32:40 +0000 (22:32 +0000)
commit932501f94a46dbc8dc4a6bf3ceb7eaa1640181f2
tree24049e95658da009e3b8bd1958b7b0ead304b317
parentce673d9a757460240add1503c73e87d61738f872
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175000 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/demangle.h
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected
libiberty/testsuite/test-demangle.c