diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-07 10:38:24 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-07 10:38:24 +0100 |
commit | ffbc28cbbd544e4c22f542322a9ea10a7660b8fc (patch) | |
tree | 67c543fc2d2752d42bdf1a3ba0aa7157e68e39e4 /shared/cplusplus/PrettyPrinter.cpp | |
parent | 0449c67f033c59c10fe86e0ca869a8e8b77f333c (diff) | |
download | qt-creator-ffbc28cbbd544e4c22f542322a9ea10a7660b8fc.tar.gz |
Added a space before cv-qualifiers in a function declarator.
Diffstat (limited to 'shared/cplusplus/PrettyPrinter.cpp')
-rw-r--r-- | shared/cplusplus/PrettyPrinter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/cplusplus/PrettyPrinter.cpp b/shared/cplusplus/PrettyPrinter.cpp index 891a63020c..d7570127e3 100644 --- a/shared/cplusplus/PrettyPrinter.cpp +++ b/shared/cplusplus/PrettyPrinter.cpp @@ -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 << ' '; |