[Mlir-commits] [mlir] e8d09a5 - Apply clang-tidy fixes for readability-identifier-naming in Operation.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Feb 15 10:19:45 PST 2024
Author: Mehdi Amini
Date: 2024-02-15T10:17:28-08:00
New Revision: e8d09a5b44de95f8cc675fce21b06dd45955e05a
URL: https://github.com/llvm/llvm-project/commit/e8d09a5b44de95f8cc675fce21b06dd45955e05a
DIFF: https://github.com/llvm/llvm-project/commit/e8d09a5b44de95f8cc675fce21b06dd45955e05a.diff
LOG: Apply clang-tidy fixes for readability-identifier-naming in Operation.cpp (NFC)
Added:
Modified:
mlir/lib/IR/Operation.cpp
Removed:
################################################################################
diff --git a/mlir/lib/IR/Operation.cpp b/mlir/lib/IR/Operation.cpp
index 311f5bb5ef77c0..d6d59837d48ac8 100644
--- a/mlir/lib/IR/Operation.cpp
+++ b/mlir/lib/IR/Operation.cpp
@@ -1119,8 +1119,8 @@ LogicalResult OpTrait::impl::verifySameOperandsAndResultRank(Operation *op) {
// delegate function that returns true if type is a shaped type with known
// rank
auto hasRank = [](const Type type) {
- if (auto shaped_type = dyn_cast<ShapedType>(type))
- return shaped_type.hasRank();
+ if (auto shapedType = dyn_cast<ShapedType>(type))
+ return shapedType.hasRank();
return false;
};
More information about the Mlir-commits
mailing list