* libiberty/cp-demangle.c (struct demangling_def): New fields:
commit1473a22e63411ba4ae5bfc12ea6e428dbbc2a185
authorJim Blandy <jimb@codesourcery.com>
Tue, 20 Mar 2001 18:22:38 +0000 (20 18:22 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 20 Mar 2001 18:22:38 +0000 (20 18:22 +0000)
treed72b836957db8d9ab8cbcb36af6eb72547747187
parentf9c398f12f6d00b825368c0a6c6af7130b158b4f
* libiberty/cp-demangle.c (struct demangling_def): New fields:
is_constructor and is_destructor.
(demangling_new): Initialize them.
(demangle_ctor_dtor_name): Set them, if we detect a constructor
or destructor.
(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor): New functions.

* include/demangle.h (enum gnu_v3_constructor_kinds,
is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds,
is_gnu_v3_mangled_dtor): New declarations.
include/ChangeLog
include/demangle.h
libiberty/ChangeLog
libiberty/cp-demangle.c