]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/cp-demangle.c
cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED...
authorIan Lance Taylor <ian@wasabisystems.com>
Wed, 25 Feb 2004 04:51:39 +0000 (04:51 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 25 Feb 2004 04:51:39 +0000 (04:51 +0000)
commit31058ee354a51cdebccb7129312c07b4938ffa12
treee07eb3be30fad6f21331b69d9f8e2e0b67bc3c4d
parent93f20626db495518ad09b8c8138db7df1ea971f8
cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED...

* cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
* cp-demangle.c (cplus_demangle_builtin_types): Change char and
short types to D_PRINT_DEFAULT.  Change other integer types to use
new D_PRINT_* values where appropriate.  Change float types to
D_PRINT_FLOAT.
(d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
values.
* testsuite/demangle-expected: Adjust two test cases.

* cp-demangle.c (d_print_function_type): Print a space before the
parenthesis around the function type in more cases.
* testsuite/demangle-expected: Adjust one test case.

From-SVN: r78421
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/cp-demangle.h
libiberty/testsuite/demangle-expected