summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDoug Gregor <dgregor@gcc.gnu.org>2007-08-31 19:15:26 +0000
committerDoug Gregor <dgregor@gcc.gnu.org>2007-08-31 19:15:26 +0000
commit1ab28be5966d14e3981692007b1c8aecfc7577d1 (patch)
treec76c68427c0ca0171a3ebeaf7bd79a511fff88d6 /include
parent5e18375c6ea2513c5a171f817966f11ee0af9b50 (diff)
downloadgcc-1ab28be5966d14e3981692007b1c8aecfc7577d1.tar.gz
mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'.
2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * mangle.c (write_type): Change mangling of rvalue reference from `RR' to `O'. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_RVALUE_REFERENCE. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE. (d_make_comp): Ditto. (cplus_demangle_type): Ditto. (d_print_comp): Ditto. (d_print_mod): Ditto. (d_print_function_type): Ditto. 2007-08-31 Douglas Gregor <doug.gregor@gmail.com> * testsuite/abi/demangle/cxx0x/rref.cc: New. From-SVN: r127999
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/demangle.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index cf9421e1d6b..b29d428bbbf 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
+
+ * demangle.h (enum demangle_component_type): Add
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE.
+
2007-07-25 Ben Elliston <bje@au.ibm.com>
* ternary.h: Remove.
diff --git a/include/demangle.h b/include/demangle.h
index 49f23e543ed..b55226d8590 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -296,6 +296,9 @@ enum demangle_component_type
/* A reference. The one subtree is the type which is being
referenced. */
DEMANGLE_COMPONENT_REFERENCE,
+ /* C++0x: An rvalue reference. The one subtree is the type which is
+ being referenced. */
+ DEMANGLE_COMPONENT_RVALUE_REFERENCE,
/* A complex type. The one subtree is the base type. */
DEMANGLE_COMPONENT_COMPLEX,
/* An imaginary type. The one subtree is the base type. */