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 e64c9d1 commit e3b0e92Copy full SHA for e3b0e92
mlir/lib/Bindings/Python/IRCore.cpp
@@ -743,10 +743,10 @@ void PyMlirContext::clearOperation(MlirOperation op) {
743
}
744
745
void PyMlirContext::clearOperationsInside(PyOperationBase &op) {
746
- typedef struct {
+ using callBackData = struct {
747
PyOperation &rootOp;
748
bool rootSeen;
749
- } callBackData;
+ };
750
callBackData data{op.getOperation(), false};
751
// Mark all ops below the op that the passmanager will be rooted
752
// at (but not op itself - note the preorder) as invalid.
0 commit comments