diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-04 23:43:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-04 23:43:40 +0000 |
commit | 59742de0f9d4fbd421b69ed0c1b6c7a6d83339fb (patch) | |
tree | 863de1b69fa0f7e38308b27d742799588193705e /lib/AST/TypePrinter.cpp | |
parent | 37edc00b6a08dcb094d812782ea4bfedab3b6445 (diff) |
revert this, it isn't safe.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r-- | lib/AST/TypePrinter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index a70fe77da9..d3a6b64553 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -91,7 +91,8 @@ void TypePrinter::PrintBuiltin(const BuiltinType *T, std::string &S) { S = T->getName(Policy.LangOpts); } else { // Prefix the basic type, e.g. 'int X'. - S = T->getName(Policy.LangOpts) + ' ' + S; + S = ' ' + S; + S = T->getName(Policy.LangOpts) + S; } } |