[TableGen] Remove a few spaces from AsmMatcher output. NFC
authorCraig Topper <craig.topper@gmail.com>
Mon, 11 Jan 2016 02:11:36 +0000 (02:11 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 11 Jan 2016 02:11:36 +0000 (02:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257308 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/AsmWriterInst.cpp

index 9541887540090c4822ba3e6428720b84c470d045..5b09765a2756b3cf6fc53d95d8786f2af480c236 100644 (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