[TableGen] Remove a few spaces from AsmMatcher output. NFC

llvm-svn: 257308
This commit is contained in:
Craig Topper 2016-01-11 02:11:36 +00:00
parent c86a6446dc
commit 6313d20d16
1 changed files with 3 additions and 3 deletions

View File

@ -29,8 +29,8 @@ static bool isIdentChar(char C) {
std::string AsmWriterOperand::getCode() const {
if (OperandType == isLiteralTextOperand) {
if (Str.size() == 1)
return "O << '" + Str + "'; ";
return "O << \"" + Str + "\"; ";
return "O << '" + Str + "';";
return "O << \"" + Str + "\";";
}
if (OperandType == isLiteralStatementOperand)
@ -44,7 +44,7 @@ std::string AsmWriterOperand::getCode() const {
Result += ", O";
if (!MiModifier.empty())
Result += ", \"" + MiModifier + '"';
return Result + "); ";
return Result + ");";
}
/// ParseAsmString - Parse the specified Instruction's AsmString into this