mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-13 04:41:28 +00:00
Prefix pretty representation of static data members with 'static'
* src/abg-ir.cc (var_decl::get_pretty_representation): Prefix pretty representation of static data members with 'static'. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
3ae24bafc3
commit
3299e63da0
@ -3063,7 +3063,9 @@ var_decl::get_pretty_representation() const
|
||||
{
|
||||
string result;
|
||||
|
||||
result = get_type_declaration(get_type())->get_qualified_name();
|
||||
if (is_member_decl(this) && get_member_is_static(this))
|
||||
result = "static ";
|
||||
result += get_type_declaration(get_type())->get_qualified_name();
|
||||
result += " " + get_qualified_name();
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user