ir: Improve legibility of set_member_function_is_virtual

* src/abg-ir.cc (set_member_function_is_virtual): Remove
	useless white space and use clearer helper function.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2024-08-16 13:54:57 +02:00
parent 7de9d769bc
commit dcce841c54

View File

@ -6730,8 +6730,7 @@ set_member_function_is_virtual(const function_decl_sptr& fn, bool is_virtual)
if (fn)
{
set_member_function_is_virtual(*fn, is_virtual);
fixup_virtual_member_function
(dynamic_pointer_cast<method_decl>(fn));
fixup_virtual_member_function(is_method_decl(fn));
}
}