summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/utils/TableGen/AsmWriterInst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/utils/TableGen/AsmWriterInst.cpp')
-rw-r--r--contrib/llvm/utils/TableGen/AsmWriterInst.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm/utils/TableGen/AsmWriterInst.cpp b/contrib/llvm/utils/TableGen/AsmWriterInst.cpp
index 9541887..5b09765 100644
--- a/contrib/llvm/utils/TableGen/AsmWriterInst.cpp
+++ b/contrib/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
OpenPOWER on IntegriCloud