Skip to content

Commit 5d5c73c

Browse files
committed
Fix clang-format issues.
1 parent 3487f18 commit 5d5c73c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

flang/lib/Optimizer/Transforms/AddDebugInfo.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ mlir::LLVM::DIModuleAttr AddDebugInfoPass::getOrCreateModuleAttr(
122122
} else {
123123
modAttr = mlir::LLVM::DIModuleAttr::get(
124124
context, fileAttr, scope, mlir::StringAttr::get(context, name),
125-
/* configMacros */ mlir::StringAttr(), /* includePath */mlir::StringAttr(),
125+
/* configMacros */ mlir::StringAttr(),
126+
/* includePath */ mlir::StringAttr(),
126127
/* apinotes */ mlir::StringAttr(), line, decl);
127128
moduleMap[name] = modAttr;
128129
}
@@ -162,8 +163,8 @@ void AddDebugInfoPass::handleGlobalOp(fir::GlobalOp globalOp,
162163
scope = getOrCreateModuleAttr(result.second.modules[0], fileAttr, scope,
163164
line - 1, !globalOp.isInitialized());
164165

165-
mlir::LLVM::DITypeAttr diType = typeGen.convertType(globalOp.getType(), fileAttr, scope,
166-
globalOp.getLoc());
166+
mlir::LLVM::DITypeAttr diType = typeGen.convertType(
167+
globalOp.getType(), fileAttr, scope, globalOp.getLoc());
167168
auto gvAttr = mlir::LLVM::DIGlobalVariableAttr::get(
168169
context, scope, mlir::StringAttr::get(context, result.second.name),
169170
mlir::StringAttr::get(context, globalOp.getName()), fileAttr, line,

0 commit comments

Comments
 (0)