[TableGen] Improve readability of generated code (NFC)

Improve the readability of the generated code for `MCOpcodeSwitchStatement`.

llvm-svn: 347707
This commit is contained in:
Evandro Menezes 2018-11-27 20:59:01 +00:00
parent a13afb10aa
commit 9f0644167f

View File

@ -204,7 +204,7 @@ void PredicateExpander::expandOpcodeSwitchCase(raw_ostream &OS,
for (const Record *Opcode : Opcodes) {
OS.indent(getIndentLevel() * 2);
OS << "case " << Opcode->getValueAsString("Namespace")
<< "::" << Opcode->getName() << " :\n";
<< "::" << Opcode->getName() << ":\n";
}
increaseIndentLevel();
@ -227,7 +227,7 @@ void PredicateExpander::expandOpcodeSwitchStatement(raw_ostream &OS,
// Expand the default case.
SS.indent(getIndentLevel() * 2);
SS << "default :\n";
SS << "default:\n";
increaseIndentLevel();
SS.indent(getIndentLevel() * 2);