forked from OSchip/llvm-project
[TableGen] Remove a few spaces from AsmMatcher output. NFC
llvm-svn: 257308
This commit is contained in:
parent
c86a6446dc
commit
6313d20d16
|
@ -29,8 +29,8 @@ static bool isIdentChar(char C) {
|
||||||
std::string AsmWriterOperand::getCode() const {
|
std::string AsmWriterOperand::getCode() const {
|
||||||
if (OperandType == isLiteralTextOperand) {
|
if (OperandType == isLiteralTextOperand) {
|
||||||
if (Str.size() == 1)
|
if (Str.size() == 1)
|
||||||
return "O << '" + Str + "'; ";
|
return "O << '" + Str + "';";
|
||||||
return "O << \"" + Str + "\"; ";
|
return "O << \"" + Str + "\";";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OperandType == isLiteralStatementOperand)
|
if (OperandType == isLiteralStatementOperand)
|
||||||
|
@ -44,7 +44,7 @@ std::string AsmWriterOperand::getCode() const {
|
||||||
Result += ", O";
|
Result += ", O";
|
||||||
if (!MiModifier.empty())
|
if (!MiModifier.empty())
|
||||||
Result += ", \"" + MiModifier + '"';
|
Result += ", \"" + MiModifier + '"';
|
||||||
return Result + "); ";
|
return Result + ");";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// ParseAsmString - Parse the specified Instruction's AsmString into this
|
/// ParseAsmString - Parse the specified Instruction's AsmString into this
|
||||||
|
|
Loading…
Reference in New Issue