Skip to content

Commit e3b0e92

Browse files
committed
[MLIR] Apply clang-tidy fixes for modernize-use-using in IRCore.cpp (NFC)
1 parent e64c9d1 commit e3b0e92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Bindings/Python/IRCore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,10 +743,10 @@ void PyMlirContext::clearOperation(MlirOperation op) {
743743
}
744744

745745
void PyMlirContext::clearOperationsInside(PyOperationBase &op) {
746-
typedef struct {
746+
using callBackData = struct {
747747
PyOperation &rootOp;
748748
bool rootSeen;
749-
} callBackData;
749+
};
750750
callBackData data{op.getOperation(), false};
751751
// Mark all ops below the op that the passmanager will be rooted
752752
// at (but not op itself - note the preorder) as invalid.

0 commit comments

Comments
 (0)