summaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authordgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-31 19:15:26 +0000
committerdgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-31 19:15:26 +0000
commitc4692e0443adc1dad6b7ff91f324b3e2af4f6b12 (patch)
treec76c68427c0ca0171a3ebeaf7bd79a511fff88d6 /include/demangle.h
parent2caed3c639365fa7fa23564590bd98bb1dd4c28c (diff)
downloadgcc-c4692e0443adc1dad6b7ff91f324b3e2af4f6b12.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127999 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h3
1 files changed, 3 insertions, 0 deletions
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. */