Skip to content

Commit b5dfc75

Browse files
committed
[mlir][emitc][NFC] Eliminate the extra newline printout during emitc.switch emission
1 parent 71389e5 commit b5dfc75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/Cpp/TranslateToCpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ static LogicalResult printOperation(CppEmitter &emitter,
484484
emitc::SwitchOp switchOp) {
485485
raw_indented_ostream &os = emitter.ostream();
486486

487-
os << "\nswitch (";
487+
os << "switch (";
488488
if (failed(emitter.emitOperand(switchOp.getArg())))
489489
return failure();
490490
os << ") {";

0 commit comments

Comments
 (0)