]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/cp-demangle.c
cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
authorH.J. Lu <hjl@gnu.org>
Sun, 3 Feb 2002 04:00:36 +0000 (04:00 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 3 Feb 2002 04:00:36 +0000 (20:00 -0800)
commitd74697b84d79ac7f863e9a65b445ac2e72b59090
treec5e77d08efd7f3370d2e01b346b00712f1485d05
parent4437e4d46bea5eb68ea903e94fbf18f6b2aeb4ca
cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.

2002-02-02  H.J. Lu  (hjl@gnu.org)

* cp-demangle.c (cp_demangle_type): Do not protect with
IN_LIBGCC2.
(cplus_demangle_v3_all): New.
(cplus_demangle_v3): Call cplus_demangle_v3_all.
(cplus_demangle_v3_type): Call cplus_demangle_v3_all.

* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
Initialized to cplus_demangle_v3.
(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
of cplus_demangle_v3.
(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
command line symbol.

* testsuite/regress-demangle: Pass the mangled name at the
command line.

From-SVN: r49456
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/cplus-dem.c
libiberty/testsuite/regress-demangle