OSDN Git Service

* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jan 2004 20:33:55 +0000 (20:33 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jan 2004 20:33:55 +0000 (20:33 +0000)
commitf2c17d01513786ba2e312afa3d07f6a6337662cb
tree183e17ac3dbfe84ac13438b5694f1dc0c39c96cf
parentb93f372142b53666a979e0780aa6aa6bc1def308
* cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
* cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
demangling template parameters.
* testsuite/test-demangle.c (fail): New static function.
(main): Support new options in input file: --no-params,
--is-v3-ctor, and --is-v3-dtor.
* testsuite/demangle-expected: Add --no-params to most tests, and
add the correct result when parameters are not demangled.  Add
some simple tests for V3 constructor/destructor recognition.

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