aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-05-25 16:29:54 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-05-25 16:29:54 -0700
commit15da280693e0d0404244096d777c74d684033ec2 (patch)
treed165fdbe45478f2cbdbec944346c757e51b525b3 /include/demangle.h
parenteb2925b676cb88c2c28b5bf7484fb432f709ce88 (diff)
downloadgcc-15da280693e0d0404244096d777c74d684033ec2.zip
gcc-15da280693e0d0404244096d777c74d684033ec2.tar.gz
gcc-15da280693e0d0404244096d777c74d684033ec2.tar.bz2
demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
include/ * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. (d_make_comp, d_print_comp): Likewise. (d_special_name): Generate one. * testsuite/demangle-expected: Add a hidden alias test. From-SVN: r100174
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/demangle.h b/include/demangle.h
index 944a951..304a4c4 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -239,6 +239,9 @@ enum demangle_component_type
/* A reference temporary. This has one subtree, the name for which
this is a temporary. */
DEMANGLE_COMPONENT_REFTEMP,
+ /* A hidden alias. This has one subtree, the encoding for which it
+ is providing alternative linkage. */
+ DEMANGLE_COMPONENT_HIDDEN_ALIAS,
/* A standard substitution. This holds the name of the
substitution. */
DEMANGLE_COMPONENT_SUB_STD,