* 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
Showing
- libiberty/ChangeLog 13 additions, 0 deletionslibiberty/ChangeLog
- libiberty/cp-demangle.c 18 additions, 1 deletionlibiberty/cp-demangle.c
- libiberty/cplus-dem.c 21 additions, 2 deletionslibiberty/cplus-dem.c
- libiberty/testsuite/demangle-expected 1511 additions, 731 deletionslibiberty/testsuite/demangle-expected
- libiberty/testsuite/test-demangle.c 137 additions, 27 deletionslibiberty/testsuite/test-demangle.c
Loading
Please register or sign in to comment