aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2010-02-03 15:42:35 -0500
committerJason Merrill <jason@gcc.gnu.org>2010-02-03 15:42:35 -0500
commitabfe01cec91fae69bb05700bf6a53f41a64fd15c (patch)
treef8b4a568a621bd1d216e238d04ed36cb854f1bc4 /include
parent07738b87c4273fcfd97bf40940fe4f26ea555292 (diff)
downloadgcc-abfe01cec91fae69bb05700bf6a53f41a64fd15c.zip
gcc-abfe01cec91fae69bb05700bf6a53f41a64fd15c.tar.gz
gcc-abfe01cec91fae69bb05700bf6a53f41a64fd15c.tar.bz2
re PR c++/12909 (ambiguity in mangling vector types)
PR c++/12909 * mangle.c (write_type) [VECTOR_TYPE]: Change mangling. From-SVN: r156481
Diffstat (limited to 'include')
-rw-r--r--include/demangle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/demangle.h b/include/demangle.h
index 2ab2760..8ad073d 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -326,6 +326,9 @@ enum demangle_component_type
DEMANGLE_COMPONENT_PTRMEM_TYPE,
/* A fixed-point type. */
DEMANGLE_COMPONENT_FIXED_TYPE,
+ /* A vector type. The left subtree is the number of elements,
+ the right subtree is the element type. */
+ DEMANGLE_COMPONENT_VECTOR_TYPE,
/* An argument list. The left subtree is the current argument, and
the right subtree is either NULL or another ARGLIST node. */
DEMANGLE_COMPONENT_ARGLIST,
@@ -378,6 +381,8 @@ enum demangle_component_type
DEMANGLE_COMPONENT_COMPOUND_NAME,
/* A name formed by a single character. */
DEMANGLE_COMPONENT_CHARACTER,
+ /* A number. */
+ DEMANGLE_COMPONENT_NUMBER,
/* A decltype type. */
DEMANGLE_COMPONENT_DECLTYPE,
/* Global constructors keyed to name. */