mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 07:24:34 +00:00
Fix destructor naming.
* src/abg-ir.cc (function_decl::get_pretty_representation): In DWARF at least, the destructor function name already contains the '~'. No need to add it. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
52a7991d5e
commit
65b4779ffe
@ -3075,12 +3075,12 @@ function_decl::get_pretty_representation() const
|
||||
|| get_member_function_is_ctor(*mem_fn))))
|
||||
result += "void ";
|
||||
|
||||
if (mem_fn && get_member_function_is_dtor(*mem_fn))
|
||||
result += "~";
|
||||
|
||||
if (mem_fn)
|
||||
result += mem_fn->get_type()->get_class_type()->get_qualified_name()
|
||||
+ "::" + mem_fn->get_name();
|
||||
{
|
||||
result += mem_fn->get_type()->get_class_type()->get_qualified_name()
|
||||
+ "::" + mem_fn->get_name();
|
||||
}
|
||||
else
|
||||
result += get_qualified_name();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user