diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-09-03 14:58:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-09-03 14:58:24 +0000 |
commit | d809156d5c860a90cf7b1a8dfb9db62dcc5e6f06 (patch) | |
tree | 6f7ac73d66dccf36e36d4eceb6f20c808a440dd4 | |
parent | c50fa7ec0a396461d9addda9b078560e0a7d0e41 (diff) | |
download | external_llvm-d809156d5c860a90cf7b1a8dfb9db62dcc5e6f06.zip external_llvm-d809156d5c860a90cf7b1a8dfb9db62dcc5e6f06.tar.gz external_llvm-d809156d5c860a90cf7b1a8dfb9db62dcc5e6f06.tar.bz2 |
CppBackend: avoid printing unnecessary whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80917 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index db8ccab..14ad451 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -755,7 +755,7 @@ namespace { Out << "ConstantInt* " << constName << " = ConstantInt::get(getGlobalContext(), APInt(" << cast<IntegerType>(CI->getType())->getBitWidth() - << ", StringRef(\"" << constValue << "\"), 10));"; + << ", StringRef(\"" << constValue << "\"), 10));"; } else if (isa<ConstantAggregateZero>(CV)) { Out << "ConstantAggregateZero* " << constName << " = ConstantAggregateZero::get(" << typeName << ");"; @@ -842,7 +842,7 @@ namespace { << getCppName(CE->getOperand(0)) << ", " << "&" << constName << "_indices[0], " << constName << "_indices.size()" - << " );"; + << ");"; } else if (CE->isCast()) { printConstant(CE->getOperand(0)); Out << "Constant* " << constName << " = ConstantExpr::getCast("; |