From 3c9e09036cdd1c90775cd3f16c7caf93427c92af Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sun, 3 Apr 2022 22:55:32 +0000 Subject: [PATCH] Apply clang-tidy fixes for readability-identifier-naming in LinalgOps.cpp (NFC) --- mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp index 78b32cb..687a067 100644 --- a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp +++ b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp @@ -116,10 +116,10 @@ static bool hasaUniqueDim(ArrayRef maps, unsigned testMapLocation) { if (expr != nullptr) dimsToCheck.insert(expr.getPosition()); } - for (const auto &It : llvm::enumerate(maps)) { - if (It.index() == testMapLocation) + for (const auto &it : llvm::enumerate(maps)) { + if (it.index() == testMapLocation) continue; - auto map = It.value(); + auto map = it.value(); for (auto result : map.getResults()) { auto expr = result.dyn_cast(); if (expr != nullptr) { -- 2.7.4