cp-demangle.c (struct demangling_def): New fields: is_constructor and is_destructor.
authorJim Blandy <jimb@redhat.com>
Wed, 21 Mar 2001 20:01:40 +0000 (20:01 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 21 Mar 2001 20:01:40 +0000 (15:01 -0500)
commit7dce2effb4b9de38a941a9433aa9d054dfc1e569
tree582847a0e8fc2383694d34259829111ffd1d4fbb
parenta8d1960882c702df96396caa90c5dedd7d1a7cba
cp-demangle.c (struct demangling_def): New fields: is_constructor and is_destructor.

* 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.

From-SVN: r40713
libiberty/ChangeLog
libiberty/cp-demangle.c