aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/TypePrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r--lib/AST/TypePrinter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp
index d3a6b64553..a70fe77da9 100644
--- a/lib/AST/TypePrinter.cpp
+++ b/lib/AST/TypePrinter.cpp
@@ -91,8 +91,7 @@ void TypePrinter::PrintBuiltin(const BuiltinType *T, std::string &S) {
S = T->getName(Policy.LangOpts);
} else {
// Prefix the basic type, e.g. 'int X'.
- S = ' ' + S;
- S = T->getName(Policy.LangOpts) + S;
+ S = T->getName(Policy.LangOpts) + ' ' + S;
}
}