From 6d5f0f041f38c25983d576d5288f3e13c76f13e0 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Thu, 3 Sep 2009 14:58:24 +0000 Subject: [PATCH] CppBackend: avoid printing unnecessary whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80917 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CppBackend/CPPBackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index db8ccab6445..14ad451074a 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(CI->getType())->getBitWidth() - << ", StringRef(\"" << constValue << "\"), 10));"; + << ", StringRef(\"" << constValue << "\"), 10));"; } else if (isa(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(";