aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2008-09-09 13:38:10 -0400
committerJason Merrill <jason@gcc.gnu.org>2008-09-09 13:38:10 -0400
commit5a3d7e74caea0e0ff01f12191aaf479a558fa192 (patch)
tree9b0a6eefae5a149a8bc7b9583c7777eb4a9a97d9 /include
parent854bd721f882bf19deb6774310e6b68dc7f299c8 (diff)
downloadgcc-5a3d7e74caea0e0ff01f12191aaf479a558fa192.zip
gcc-5a3d7e74caea0e0ff01f12191aaf479a558fa192.tar.gz
gcc-5a3d7e74caea0e0ff01f12191aaf479a558fa192.tar.bz2
demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_DECLTYPE.
* 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. From-SVN: r140162
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/demangle.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 1636e98..64b0a6c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-09 Jason Merrill <jason@redhat.com>
+
+ * demangle.h (enum demangle_component_type): Add
+ DEMANGLE_COMPONENT_DECLTYPE.
+
2008-07-07 Joel Brobecker <brobecker@adacore.com>
* safe-ctype.h: Add #include of ctype.h before redefining
diff --git a/include/demangle.h b/include/demangle.h
index 78e022d..146d778 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. */