Skip to content

Commit c9a9744

Browse files
committed
[mlir][emitc] NFC. Delete parentheses aroound a case value
1 parent 64e58a8 commit c9a9744

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
@@ -467,7 +467,7 @@ static LogicalResult printOperation(CppEmitter &emitter,
467467
os << "\nswitch (" << emitter.getOrCreateName(switchOp.getArg()) << ") {";
468468

469469
for (auto pair : llvm::zip(switchOp.getCases(), switchOp.getCaseRegions())) {
470-
os << "\ncase (" << std::get<0>(pair) << "): {\n";
470+
os << "\ncase " << std::get<0>(pair) << ": {\n";
471471
os.indent();
472472

473473
if (failed(emitSwitchCase(emitter, os, std::get<1>(pair))))

0 commit comments

Comments
 (0)