We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87e193 commit 8694c34Copy full SHA for 8694c34
mlir/lib/Bindings/Python/Rewrite.cpp
@@ -29,7 +29,7 @@ namespace {
29
class PyPatternRewriter {
30
public:
31
PyPatternRewriter(MlirPatternRewriter rewriter)
32
- : rewriter(rewriter), base(mlirPatternRewriterAsBase(rewriter)),
+ : base(mlirPatternRewriterAsBase(rewriter)),
33
ctx(PyMlirContext::forContext(mlirRewriterBaseGetContext(base))) {}
34
35
PyInsertionPoint getInsertionPoint() const {
@@ -46,7 +46,6 @@ class PyPatternRewriter {
46
}
47
48
private:
49
- MlirPatternRewriter rewriter [[maybe_unused]];
50
MlirRewriterBase base;
51
PyMlirContextRef ctx;
52
};
0 commit comments