[Mlir-commits] [mlir] 2af8178 - [MLIR] Apply clang-tidy fixes for llvm-qualified-auto in Query.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Aug 28 10:11:13 PDT 2025
Author: Mehdi Amini
Date: 2025-08-28T10:10:35-07:00
New Revision: 2af8178035b21ab5cd80451e5324fb442a5b7aec
URL: https://github.com/llvm/llvm-project/commit/2af8178035b21ab5cd80451e5324fb442a5b7aec
DIFF: https://github.com/llvm/llvm-project/commit/2af8178035b21ab5cd80451e5324fb442a5b7aec.diff
LOG: [MLIR] Apply clang-tidy fixes for llvm-qualified-auto in Query.cpp (NFC)
Added:
Modified:
mlir/lib/Query/Query.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Query/Query.cpp b/mlir/lib/Query/Query.cpp
index 03e4177bbbe24..375e82050a481 100644
--- a/mlir/lib/Query/Query.cpp
+++ b/mlir/lib/Query/Query.cpp
@@ -141,7 +141,7 @@ LogicalResult MatchQuery::run(llvm::raw_ostream &os, QuerySession &qs) const {
os << "\n";
for (auto &results : matches) {
os << "Match #" << ++matchCount << ":\n\n";
- for (auto op : results.matchedOps) {
+ for (Operation *op : results.matchedOps) {
if (op == results.rootOp) {
finder.printMatch(os, qs, op, "root");
} else {
More information about the Mlir-commits
mailing list