[Mlir-commits] [mlir] 9155f51 - [MLIR] Apply clang-tidy fixes for readability-identifier-naming in AttrTypeReplacerTest.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Aug 29 04:15:36 PDT 2025
Author: Mehdi Amini
Date: 2025-08-29T04:14:56-07:00
New Revision: 9155f511bf5038f04525703b467ed148978f944d
URL: https://github.com/llvm/llvm-project/commit/9155f511bf5038f04525703b467ed148978f944d
DIFF: https://github.com/llvm/llvm-project/commit/9155f511bf5038f04525703b467ed148978f944d.diff
LOG: [MLIR] Apply clang-tidy fixes for readability-identifier-naming in AttrTypeReplacerTest.cpp (NFC)
Added:
Modified:
mlir/unittests/IR/AttrTypeReplacerTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/IR/AttrTypeReplacerTest.cpp b/mlir/unittests/IR/AttrTypeReplacerTest.cpp
index c7b42eb267c7a..f17c7122ecf43 100644
--- a/mlir/unittests/IR/AttrTypeReplacerTest.cpp
+++ b/mlir/unittests/IR/AttrTypeReplacerTest.cpp
@@ -80,9 +80,9 @@ class CyclicAttrTypeReplacerChainRecursionPruningTest : public ::testing::Test {
});
}
- Type getFunctionTypeChain(unsigned N) {
+ Type getFunctionTypeChain(unsigned n) {
Type type = b.getIndexType();
- for (unsigned i = 0; i < N; i++)
+ for (unsigned i = 0; i < n; i++)
type = b.getFunctionType({}, type);
return type;
};
@@ -168,9 +168,9 @@ class CyclicAttrTypeReplacerBranchingRecusionPruningTest
});
}
- Type getFunctionTypeTree(unsigned N) {
+ Type getFunctionTypeTree(unsigned n) {
Type type = b.getIndexType();
- for (unsigned i = 0; i < N; i++)
+ for (unsigned i = 0; i < n; i++)
type = b.getFunctionType(type, type);
return type;
};
More information about the Mlir-commits
mailing list