From 84681ea68987b5e51f82fca7b7caf7e8eb315493 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 3 Apr 2013 18:21:40 +0000 Subject: [PATCH] merge from gcc --- include/ChangeLog | 7 +++++++ include/demangle.h | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 200771d8d..f084976f3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2013-04-03 Jason Merrill + + Demangle C++11 ref-qualifier. + * demangle.h (enum demangle_component_type): Add + DEMANGLE_COMPONENT_REFERENCE_THIS, + DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS. + 2013-03-12 Sebastian Huber * opcode/nios2.h: Edit comment. diff --git a/include/demangle.h b/include/demangle.h index ed0195003..58bf547d5 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -302,6 +302,12 @@ enum demangle_component_type /* The const qualifier modifying a member function. The one subtree is the type which is being qualified. */ DEMANGLE_COMPONENT_CONST_THIS, + /* C++11 A reference modifying a member function. The one subtree is the + type which is being referenced. */ + DEMANGLE_COMPONENT_REFERENCE_THIS, + /* C++11: An rvalue reference modifying a member function. The one + subtree is the type which is being referenced. */ + DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS, /* A vendor qualifier. The left subtree is the type which is being qualified, and the right subtree is the name of the qualifier. */