[Mlir-commits] [mlir] 442e4ad - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in MlirReduceMain.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Sep 1 10:49:12 PDT 2025
Author: Mehdi Amini
Date: 2025-09-01T10:45:09-07:00
New Revision: 442e4ad92301882e8362edd64072f7cc6e36d141
URL: https://github.com/llvm/llvm-project/commit/442e4ad92301882e8362edd64072f7cc6e36d141
DIFF: https://github.com/llvm/llvm-project/commit/442e4ad92301882e8362edd64072f7cc6e36d141.diff
LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in MlirReduceMain.cpp (NFC)
Added:
Modified:
mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp b/mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
index a9dcfe732e0a4..34459b8564a25 100644
--- a/mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
+++ b/mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp
@@ -26,9 +26,9 @@
using namespace mlir;
// Parse and verify the input MLIR file. Returns null on error.
-OwningOpRef<Operation *> loadModule(MLIRContext &context,
- StringRef inputFilename,
- bool insertImplictModule) {
+static OwningOpRef<Operation *> loadModule(MLIRContext &context,
+ StringRef inputFilename,
+ bool insertImplictModule) {
// Set up the input file.
std::string errorMessage;
auto file = openInputFile(inputFilename, &errorMessage);
More information about the Mlir-commits
mailing list