summaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-09 17:38:10 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-09 17:38:10 +0000
commita2ad5e1b2a27ef6d10e85e7281f989834aa6ac01 (patch)
tree9b0a6eefae5a149a8bc7b9583c7777eb4a9a97d9 /include/demangle.h
parent1e2504eccca574f5934f2d6316f87093d97dd375 (diff)
downloadgcc-a2ad5e1b2a27ef6d10e85e7281f989834aa6ac01.tar.gz
* include/demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_DECLTYPE. * libiberty/cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_DECLTYPE. (d_make_comp): Likewise. (cplus_demangle_type): Handle decltype and DFP types. (cplus_demangle_operators): Call operator takes 2 args. (cplus_demangle_builtin_types): Add DFP types. (d_exprlist): New fn. (d_expression): Handle parm placeholders, T() and calls. (d_print_comp): Handle decltype, T() and calls. * libiberty/testsuite/demangle-expected: Test the above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140162 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/demangle.h b/include/demangle.h
index 78e022dffe8..146d778e097 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -370,7 +370,9 @@ enum demangle_component_type
subtree is the first part and the right subtree the second. */
DEMANGLE_COMPONENT_COMPOUND_NAME,
/* A name formed by a single character. */
- DEMANGLE_COMPONENT_CHARACTER
+ DEMANGLE_COMPONENT_CHARACTER,
+ /* A decltype type. */
+ DEMANGLE_COMPONENT_DECLTYPE
};
/* Types which are only used internally. */