From d34615731bd66697cda81cd090e3c5484e51aa1e Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Thu, 22 Dec 2022 22:30:16 +0000 Subject: [PATCH] Apply clang-tidy fixes for llvm-qualified-auto in TestBackwardDataFlowAnalysis.cpp (NFC) --- mlir/test/lib/Analysis/DataFlow/TestBackwardDataFlowAnalysis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/test/lib/Analysis/DataFlow/TestBackwardDataFlowAnalysis.cpp b/mlir/test/lib/Analysis/DataFlow/TestBackwardDataFlowAnalysis.cpp index d819ee2..c326fd2 100644 --- a/mlir/test/lib/Analysis/DataFlow/TestBackwardDataFlowAnalysis.cpp +++ b/mlir/test/lib/Analysis/DataFlow/TestBackwardDataFlowAnalysis.cpp @@ -38,7 +38,7 @@ struct WrittenTo : public AbstractSparseLattice { : ChangeResult::Change; } ChangeResult meet(const AbstractSparseLattice &other) override { - auto rhs = reinterpret_cast(&other); + const auto *rhs = reinterpret_cast(&other); return addWrites(rhs->writes); } -- 2.7.4