demangle-expected: Add four tests for type_info mangling.
* testsuite/demangle-expected: Add four tests for type_info mangling. * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type, for a non-template non-qualified type_info function or node. From-SVN: r36301
This commit is contained in:
parent
d982e46e1c
commit
bb22da4b6d
3 changed files with 25 additions and 1 deletions
|
@ -1,3 +1,11 @@
|
|||
2000-09-10 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* testsuite/demangle-expected: Add four tests for type_info
|
||||
mangling.
|
||||
|
||||
* cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
|
||||
for a non-template non-qualified type_info function or node.
|
||||
|
||||
2000-09-08 Alex Samuel <samuel@codesourcery.com>
|
||||
|
||||
* cp-demangle.c: Fix copyright banner.
|
||||
|
|
|
@ -2872,7 +2872,7 @@ gnu_special (work, mangled, declp)
|
|||
success = demangle_template (work, mangled, declp, 0, 1, 1);
|
||||
break;
|
||||
default:
|
||||
success = demangle_fund_type (work, mangled, declp);
|
||||
success = do_type (work, mangled, declp);
|
||||
break;
|
||||
}
|
||||
if (success && **mangled != '\0')
|
||||
|
|
|
@ -2542,3 +2542,19 @@ TA<int, N___A___<-99> >::foo__bar___foobar___(void)
|
|||
--format=gnu
|
||||
foo__bar___foobar_____t2TA2ZiZt4N__A1i9
|
||||
TA<int, N__A<9> >::foo__bar___foobar___(void)
|
||||
#
|
||||
--format=gnu
|
||||
__tfP8sockaddr
|
||||
sockaddr * type_info function
|
||||
#
|
||||
--format=gnu
|
||||
__tfPQ25libcwt16option_event_tct1Z12burst_app_ct
|
||||
libcw::option_event_tct<burst_app_ct> * type_info function
|
||||
#
|
||||
--format=gnu
|
||||
__tiP8sockaddr
|
||||
sockaddr * type_info node
|
||||
#
|
||||
--format=gnu
|
||||
__tiPQ25libcwt16option_event_tct1Z12burst_app_ct
|
||||
libcw::option_event_tct<burst_app_ct> * type_info node
|
||||
|
|
Loading…
Add table
Reference in a new issue