Skip to content
Snippets Groups Projects
  • Jason Merrill's avatar
    9eb85f27
    Demangle C++11 ref-qualifier. · 9eb85f27
    Jason Merrill authored
    include/
    	* demangle.h (enum demangle_component_type): Add
    	DEMANGLE_COMPONENT_REFERENCE_THIS,
    	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
    libiberty/
    	* cp-demangle.c (d_ref_qualifier): New.
    	(d_nested_name, d_function_type): Use it.
    	(d_parmlist): Don't get confused by a ref-qualifier.
    	(cplus_demangle_type): Reorder ref-qualifier.
    	(d_pointer_to_member_type): Likewise.
    	(d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
    	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
    	(d_make_comp, has_return_type, d_encoding): Likewise.
    	(d_print_comp, d_print_mod_list, d_print_mod): Likewise.
    	(d_print_function_type, is_ctor_or_dtor): Likewise.
    
    From-SVN: r197436
    9eb85f27
    History
    Demangle C++11 ref-qualifier.
    Jason Merrill authored
    include/
    	* demangle.h (enum demangle_component_type): Add
    	DEMANGLE_COMPONENT_REFERENCE_THIS,
    	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
    libiberty/
    	* cp-demangle.c (d_ref_qualifier): New.
    	(d_nested_name, d_function_type): Use it.
    	(d_parmlist): Don't get confused by a ref-qualifier.
    	(cplus_demangle_type): Reorder ref-qualifier.
    	(d_pointer_to_member_type): Likewise.
    	(d_dump): Handle DEMANGLE_COMPONENT_REFERENCE_THIS and
    	DEMANGLE_COMPONENT_RVALUE_REFERENCE_THIS.
    	(d_make_comp, has_return_type, d_encoding): Likewise.
    	(d_print_comp, d_print_mod_list, d_print_mod): Likewise.
    	(d_print_function_type, is_ctor_or_dtor): Likewise.
    
    From-SVN: r197436