Skip to content

Commit

Permalink
Fix formatting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
abidh committed Jul 24, 2024
1 parent 91d1af1 commit 2655838
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ void AddDebugInfoPass::handleFuncOp(mlir::func::FuncOp funcOp,
filePath = llvm::sys::path::parent_path(funcLoc.getFilename().getValue());
}

mlir::StringAttr fullName =
mlir::StringAttr::get(context, funcOp.getName());
mlir::StringAttr fullName = mlir::StringAttr::get(context, funcOp.getName());
mlir::Attribute attr = funcOp->getAttr(fir::getInternalFuncNameAttrName());
mlir::StringAttr funcName =
(attr) ? mlir::cast<mlir::StringAttr>(attr)
Expand Down

0 comments on commit 2655838

Please sign in to comment.