We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b72c37 commit 4345b20Copy full SHA for 4345b20
mlir/test/lib/Transforms/TestConstantFold.cpp
@@ -32,7 +32,7 @@ struct TestConstantFold : public PassWrapper<TestConstantFold, OperationPass<>>,
32
existingConstants.push_back(op);
33
}
34
void notifyOperationRemoved(Operation *op) override {
35
- auto it = llvm::find(existingConstants, op);
+ auto *it = llvm::find(existingConstants, op);
36
if (it != existingConstants.end())
37
existingConstants.erase(it);
38
0 commit comments