Skip to content

Commit e46942a

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in OptimizeAllocationLiveness.cpp (NFC)
1 parent cff2fdc commit e46942a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Bufferization/Transforms/OptimizeAllocationLiveness.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ struct OptimizeAllocationLiveness
148148
continue;
149149

150150
// find the ancestor of user that is in the same block as the allocOp.
151-
auto topUser = allocOp->getBlock()->findAncestorOpInBlock(*user);
151+
auto *topUser = allocOp->getBlock()->findAncestorOpInBlock(*user);
152152
if (!lastUser || happensBefore(lastUser, topUser)) {
153153
lastUser = topUser;
154154
}

0 commit comments

Comments
 (0)