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:
Dodji Seketeli 2014-02-19 16:29:29 +01:00
parent 278520086e
commit a16566b93e

View File

@ -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.