[Mlir-commits] [mlir] 863730f - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in tblgen-to-irdl.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Tue Nov 11 06:37:23 PST 2025
Author: Mehdi Amini
Date: 2025-11-11T06:36:59-08:00
New Revision: 863730ff591061e2c03afd79bc1afb5579ef980b
URL: https://github.com/llvm/llvm-project/commit/863730ff591061e2c03afd79bc1afb5579ef980b
DIFF: https://github.com/llvm/llvm-project/commit/863730ff591061e2c03afd79bc1afb5579ef980b.diff
LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in tblgen-to-irdl.cpp (NFC)
Added:
Modified:
mlir/tools/tblgen-to-irdl/tblgen-to-irdl.cpp
Removed:
################################################################################
diff --git a/mlir/tools/tblgen-to-irdl/tblgen-to-irdl.cpp b/mlir/tools/tblgen-to-irdl/tblgen-to-irdl.cpp
index 092ec2ebe81a6..33421b4e2ddd6 100644
--- a/mlir/tools/tblgen-to-irdl/tblgen-to-irdl.cpp
+++ b/mlir/tools/tblgen-to-irdl/tblgen-to-irdl.cpp
@@ -18,10 +18,11 @@ using namespace llvm;
using namespace mlir;
// Generator that prints records.
-GenRegistration printRecords("print-records", "Print all records to stdout",
- [](const RecordKeeper &records, raw_ostream &os) {
- os << records;
- return false;
- });
+static GenRegistration
+ printRecords("print-records", "Print all records to stdout",
+ [](const RecordKeeper &records, raw_ostream &os) {
+ os << records;
+ return false;
+ });
int main(int argc, char **argv) { return MlirTblgenMain(argc, argv); }
More information about the Mlir-commits
mailing list