diff options
author | Jason Merrill <jason@redhat.com> | 2010-02-03 15:42:35 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-02-03 15:42:35 -0500 |
commit | abfe01cec91fae69bb05700bf6a53f41a64fd15c (patch) | |
tree | f8b4a568a621bd1d216e238d04ed36cb854f1bc4 /include/demangle.h | |
parent | 07738b87c4273fcfd97bf40940fe4f26ea555292 (diff) | |
download | gcc-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/demangle.h')
-rw-r--r-- | include/demangle.h | 5 |
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. */ |