forked from OSchip/llvm-project
CppBackend: avoid printing unnecessary whitespace.
llvm-svn: 80917
This commit is contained in:
parent
b3286fe685
commit
13d048fdff
|
@ -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(";
|
||||
|
|
Loading…
Reference in New Issue