This is needed by perform_koenig_lookup. gcc/cp/ChangeLog: * cp-tree.h (cp_expr::strip_any_location_wrapper): New method. --- gcc/cp/cp-tree.h | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 63e9bff..f9c589d 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -95,6 +95,11 @@ public: cp_expr& maybe_add_location_wrapper (); + void strip_any_location_wrapper () + { + STRIP_ANY_LOCATION_WRAPPER (m_value); + } + private: tree m_value; location_t m_loc; -- 1.8.5.3