Apply clang-tidy fixes for llvm-qualified-auto in ConstantFold.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Mon, 29 Aug 2022 10:48:06 +0000 (10:48 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Fri, 2 Sep 2022 13:44:24 +0000 (13:44 +0000)
mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp

index e46f7ae..58a54ba 100644 (file)
@@ -122,7 +122,7 @@ public:
 
     // Identified this as a potential candidate for folding. Now check the
     // policy to see whether we are allowed to proceed.
-    for (auto operand : genericOp.getInputOperands()) {
+    for (auto *operand : genericOp.getInputOperands()) {
       if (!controlFn(operand))
         return failure();
     }