aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cplus-dem.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-01-13 18:18:03 +0000
committerDaniel Jacobowitz <drow@false.org>2004-01-13 18:18:03 +0000
commitb551fddc3b51a786d5d2d380eb463dcec84b7bb6 (patch)
tree71ab725baf36f0b6d935a345cf7ea42fa44e49e6 /libiberty/cplus-dem.c
parent1232d0e08f9677e386722d9c15df26759a442530 (diff)
downloadgdb-b551fddc3b51a786d5d2d380eb463dcec84b7bb6.zip
gdb-b551fddc3b51a786d5d2d380eb463dcec84b7bb6.tar.gz
gdb-b551fddc3b51a786d5d2d380eb463dcec84b7bb6.tar.bz2
* cp-names.y: Don't include "cp-demangle.h". Convert all references
to d_info, d_comp, and D_COMP_* to demangle_info, demangle_component, and DEMANGLE_COMPONENT_*. Convert all calls to cp_v3_d_* functions to new wrapper functions. Add precedences for VOID and ')'. (struct demangle_info): New type. (d_grab, d_left, d_right): New macros. (fill_comp, make_empty, make_operator, make_dtor, make_builtin_type) (make_name): New wrapper functions. (function_args): Remove D_PRINT_VOID test. (function_arglist): Handle '(' VOID ')'. (allocate_info): New function. (demangled_name_to_comp): Use it. Call free. (mangled_name_to_comp): Use cplus_demangle_v3_components. (cp_print, main): Use fputs instead of puts. * cp-support.c (cp_canonicalize_string, class_name_from_physname) (method_name_from_physname): Remove calls to cp_v3_d_free_info. Test demangled_name before freeing it.
Diffstat (limited to 'libiberty/cplus-dem.c')
0 files changed, 0 insertions, 0 deletions