Skip to content

Commit df8d5c1

Browse files
committed
Apply clang-tidy fixes for llvm-qualified-auto in OperationSupportTest.cpp (NFC)
1 parent 4432479 commit df8d5c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/unittests/IR/OperationSupportTest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,9 +295,9 @@ TEST(OperationEquivalenceTest, HashWorksWithFlags) {
295295
MLIRContext context;
296296
context.getOrLoadDialect<test::TestDialect>();
297297

298-
auto op1 = createOp(&context);
298+
auto *op1 = createOp(&context);
299299
// `op1` has an unknown loc.
300-
auto op2 = createOp(&context);
300+
auto *op2 = createOp(&context);
301301
op2->setLoc(NameLoc::get(StringAttr::get(&context, "foo")));
302302
auto getHash = [](Operation *op, OperationEquivalence::Flags flags) {
303303
return OperationEquivalence::computeHash(

0 commit comments

Comments
 (0)