Skip to content

Commit 84f0341

Browse files
committed
Remove braces
1 parent fe22808 commit 84f0341

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

flang/lib/Optimizer/Transforms/ExternalNameConversion.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,9 @@ void ExternalNameConversionPass::runOnOperation() {
8686
renameFuncOrGlobalInModule(op);
8787

8888
// Do the same in GPU modules.
89-
if (auto mod = mlir::dyn_cast_or_null<mlir::ModuleOp>(*op)) {
90-
for (auto gpuMod : mod.getOps<mlir::gpu::GPUModuleOp>()) {
89+
if (auto mod = mlir::dyn_cast_or_null<mlir::ModuleOp>(*op))
90+
for (auto gpuMod : mod.getOps<mlir::gpu::GPUModuleOp>())
9191
renameFuncOrGlobalInModule(gpuMod);
92-
}
93-
}
9492

9593
if (remappings.empty())
9694
return;

0 commit comments

Comments
 (0)