[Mlir-commits] [mlir] df8d5c1 - Apply clang-tidy fixes for llvm-qualified-auto in OperationSupportTest.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Wed Feb 21 18:09:31 PST 2024
Author: Mehdi Amini
Date: 2024-02-21T18:09:10-08:00
New Revision: df8d5c17802b162c5d20300426f03d6fb970d2a2
URL: https://github.com/llvm/llvm-project/commit/df8d5c17802b162c5d20300426f03d6fb970d2a2
DIFF: https://github.com/llvm/llvm-project/commit/df8d5c17802b162c5d20300426f03d6fb970d2a2.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in OperationSupportTest.cpp (NFC)
Added:
Modified:
mlir/unittests/IR/OperationSupportTest.cpp
Removed:
################################################################################
diff --git a/mlir/unittests/IR/OperationSupportTest.cpp b/mlir/unittests/IR/OperationSupportTest.cpp
index 8a4f67b9262744..9d75615b39c0c1 100644
--- a/mlir/unittests/IR/OperationSupportTest.cpp
+++ b/mlir/unittests/IR/OperationSupportTest.cpp
@@ -295,9 +295,9 @@ TEST(OperationEquivalenceTest, HashWorksWithFlags) {
MLIRContext context;
context.getOrLoadDialect<test::TestDialect>();
- auto op1 = createOp(&context);
+ auto *op1 = createOp(&context);
// `op1` has an unknown loc.
- auto op2 = createOp(&context);
+ auto *op2 = createOp(&context);
op2->setLoc(NameLoc::get(StringAttr::get(&context, "foo")));
auto getHash = [](Operation *op, OperationEquivalence::Flags flags) {
return OperationEquivalence::computeHash(
More information about the Mlir-commits
mailing list