Added a space before cv-qualifiers in a function declarator.

This commit is contained in:
Roberto Raggi
2009-01-07 10:38:24 +01:00
parent 0449c67f03
commit ffbc28cbbd
2 changed files with 3 additions and 2 deletions

View File

@@ -566,9 +566,8 @@ bool PrettyPrinter::visit(FunctionDeclaratorAST *ast)
accept(ast->parameters);
out << ')';
for (SpecifierAST *it = ast->cv_qualifier_seq; it; it = it->next) {
out << ' ';
accept(it);
if (it->next)
out << ' ';
}
if (ast->exception_specification) {
out << ' ';