[Mlir-commits] [mlir] 2da3658 - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in PassGenTest.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Oct 3 03:18:37 PDT 2025
Author: Mehdi Amini
Date: 2025-10-03T03:16:39-07:00
New Revision: 2da3658c9c3a8df281bd9c747c52c9b54a502a3c
URL: https://github.com/llvm/llvm-project/commit/2da3658c9c3a8df281bd9c747c52c9b54a502a3c
DIFF: https://github.com/llvm/llvm-project/commit/2da3658c9c3a8df281bd9c747c52c9b54a502a3c.diff
LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in PassGenTest.cpp (NFC)
Added:
Modified:
mlir/unittests/TableGen/PassGenTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/TableGen/PassGenTest.cpp b/mlir/unittests/TableGen/PassGenTest.cpp
index 27f2fa0654296..ac01d498790b7 100644
--- a/mlir/unittests/TableGen/PassGenTest.cpp
+++ b/mlir/unittests/TableGen/PassGenTest.cpp
@@ -11,7 +11,8 @@
#include "gmock/gmock.h"
-std::unique_ptr<mlir::Pass> createTestPassWithCustomConstructor(int v = 0);
+static std::unique_ptr<mlir::Pass>
+createTestPassWithCustomConstructor(int v = 0);
#define GEN_PASS_DECL
#define GEN_PASS_REGISTRATION
More information about the Mlir-commits
mailing list