From 6313d20d1697955b577372bba745b1ef9b2f1bd5 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 11 Jan 2016 02:11:36 +0000 Subject: [PATCH] [TableGen] Remove a few spaces from AsmMatcher output. NFC llvm-svn: 257308 --- llvm/utils/TableGen/AsmWriterInst.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/utils/TableGen/AsmWriterInst.cpp b/llvm/utils/TableGen/AsmWriterInst.cpp index 954188754009..5b09765a2756 100644 --- a/llvm/utils/TableGen/AsmWriterInst.cpp +++ b/llvm/utils/TableGen/AsmWriterInst.cpp @@ -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