aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-12-31 12:03:16 +0000
committerNick Clifton <nickc@redhat.com>2022-12-31 12:04:51 +0000
commite3a5d5207584e31543d1812f76e288a08b8703ea (patch)
treef4cb749bf8ec7d92fe0e30f123bcea41296eef9b /include
parent08c59458a106038c6d678621e7290948127671e2 (diff)
downloadbinutils-e3a5d5207584e31543d1812f76e288a08b8703ea.zip
binutils-e3a5d5207584e31543d1812f76e288a08b8703ea.tar.gz
binutils-e3a5d5207584e31543d1812f76e288a08b8703ea.tar.bz2
sync libiberty sources with gcc mainline
Diffstat (limited to 'include')
-rw-r--r--include/demangle.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/demangle.h b/include/demangle.h
index e2aa4a9..66637eb 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -457,6 +457,17 @@ enum demangle_component_type
DEMANGLE_COMPONENT_MODULE_PARTITION,
DEMANGLE_COMPONENT_MODULE_ENTITY,
DEMANGLE_COMPONENT_MODULE_INIT,
+
+ DEMANGLE_COMPONENT_TEMPLATE_HEAD,
+ DEMANGLE_COMPONENT_TEMPLATE_TYPE_PARM,
+ DEMANGLE_COMPONENT_TEMPLATE_NON_TYPE_PARM,
+ DEMANGLE_COMPONENT_TEMPLATE_TEMPLATE_PARM,
+ DEMANGLE_COMPONENT_TEMPLATE_PACK_PARM,
+
+ /* A builtin type with argument. This holds the builtin type
+ information. */
+ DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE
+
};
/* Types which are only used internally. */
@@ -543,6 +554,15 @@ struct demangle_component
const struct demangle_builtin_type_info *type;
} s_builtin;
+ /* For DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE. */
+ struct
+ {
+ /* Builtin type. */
+ const struct demangle_builtin_type_info *type;
+ short arg;
+ char suffix;
+ } s_extended_builtin;
+
/* For DEMANGLE_COMPONENT_SUB_STD. */
struct
{