Skip to content

Commit

Permalink
Apply clang-tidy fixes for llvm-qualified-auto in ConstantFold.cpp (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
joker-eph committed Sep 2, 2022
1 parent 4940f20 commit baeb4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class FoldConstantBase : public OpRewritePattern<GenericOp> {

// 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();
}
Expand Down

0 comments on commit baeb4ec

Please sign in to comment.