Skip to content

Commit 442e4ad

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in MlirReduceMain.cpp (NFC)
1 parent c4e70c2 commit 442e4ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Tools/mlir-reduce/MlirReduceMain.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
using namespace mlir;
2727

2828
// Parse and verify the input MLIR file. Returns null on error.
29-
OwningOpRef<Operation *> loadModule(MLIRContext &context,
30-
StringRef inputFilename,
31-
bool insertImplictModule) {
29+
static OwningOpRef<Operation *> loadModule(MLIRContext &context,
30+
StringRef inputFilename,
31+
bool insertImplictModule) {
3232
// Set up the input file.
3333
std::string errorMessage;
3434
auto file = openInputFile(inputFilename, &errorMessage);

0 commit comments

Comments
 (0)