Skip to content

Commit e8d09a5

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in Operation.cpp (NFC)
1 parent b39958c commit e8d09a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/IR/Operation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,8 +1119,8 @@ LogicalResult OpTrait::impl::verifySameOperandsAndResultRank(Operation *op) {
11191119
// delegate function that returns true if type is a shaped type with known
11201120
// rank
11211121
auto hasRank = [](const Type type) {
1122-
if (auto shaped_type = dyn_cast<ShapedType>(type))
1123-
return shaped_type.hasRank();
1122+
if (auto shapedType = dyn_cast<ShapedType>(type))
1123+
return shapedType.hasRank();
11241124

11251125
return false;
11261126
};

0 commit comments

Comments
 (0)