mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 15:34:34 +00:00
Fix qualified type pretty printing
* src/abg-ir.cc (qualified_type_def::qualified_type_def): Remove useless white space. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
278520086e
commit
a16566b93e
@ -1401,10 +1401,12 @@ qualified_type_def::qualified_type_def(shared_ptr<type_base> type,
|
||||
underlying_type_(type)
|
||||
{
|
||||
if (quals & qualified_type_def::CV_CONST)
|
||||
set_name(get_name() + "const ");
|
||||
set_name("const");
|
||||
if (quals & qualified_type_def::CV_VOLATILE)
|
||||
set_name(get_name() + "volatile ");
|
||||
set_name(get_name() + dynamic_pointer_cast<decl_base>(type)->get_name());
|
||||
set_name(get_name() + " volatile ");
|
||||
set_name(get_name()
|
||||
+ " "
|
||||
+ dynamic_pointer_cast<decl_base>(type)->get_name());
|
||||
}
|
||||
|
||||
/// Equality operator for qualified types.
|
||||
|
Loading…
Reference in New Issue
Block a user