* bits/demangle.h
namespace __gnu_cxx::demangler (session<Allocator>::decode_encoding): Put the postfix of the return type of (member) functions after the function instead of after the return type. From-SVN: r74853
This commit is contained in:
parent
128325718c
commit
6fe68b3740
|
@ -1,3 +1,11 @@
|
||||||
|
2003-12-20 Carlo Wood <carlo@alinoe.com>
|
||||||
|
|
||||||
|
* bits/demangle.h
|
||||||
|
namespace __gnu_cxx::demangler
|
||||||
|
(session<Allocator>::decode_encoding): Put the postfix
|
||||||
|
of the return type of (member) functions after the function
|
||||||
|
instead of after the return type.
|
||||||
|
|
||||||
2003-12-19 Jerry Quinn <jlquinn@optonline.net>
|
2003-12-19 Jerry Quinn <jlquinn@optonline.net>
|
||||||
|
|
||||||
* include/bits/locale_facet.h
|
* include/bits/locale_facet.h
|
||||||
|
|
|
@ -2665,12 +2665,14 @@ namespace __gnu_cxx
|
||||||
return demangler_session.M_pos;
|
return demangler_session.M_pos;
|
||||||
}
|
}
|
||||||
// Must have been a <function name>.
|
// Must have been a <function name>.
|
||||||
|
string_type return_type_postfix;
|
||||||
if (demangler_session.M_name_is_template
|
if (demangler_session.M_name_is_template
|
||||||
&& !(demangler_session.M_name_is_cdtor
|
&& !(demangler_session.M_name_is_cdtor
|
||||||
|| demangler_session.M_name_is_conversion_operator))
|
|| demangler_session.M_name_is_conversion_operator))
|
||||||
{
|
{
|
||||||
if (!demangler_session.decode_type(output))
|
// Return type of function
|
||||||
// Return type of function
|
if (!demangler_session.decode_type_with_postfix(output,
|
||||||
|
return_type_postfix))
|
||||||
return INT_MIN;
|
return INT_MIN;
|
||||||
output += ' ';
|
output += ' ';
|
||||||
}
|
}
|
||||||
|
@ -2678,6 +2680,7 @@ namespace __gnu_cxx
|
||||||
if (!demangler_session.decode_bare_function_type(output))
|
if (!demangler_session.decode_bare_function_type(output))
|
||||||
return INT_MIN;
|
return INT_MIN;
|
||||||
output += nested_name_qualifiers;
|
output += nested_name_qualifiers;
|
||||||
|
output += return_type_postfix;
|
||||||
return demangler_session.M_pos;
|
return demangler_session.M_pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue