diff --git a/mlir/docs/PassManagement.md b/mlir/docs/PassManagement.md --- a/mlir/docs/PassManagement.md +++ b/mlir/docs/PassManagement.md @@ -69,8 +69,8 @@ /// necessary utility hooks. This is only necessary for passes defined directly /// in C++. Passes defined declaratively use a cleaner mechanism for providing /// these utilities. -struct MyFunctionPass : public PassWrapper, - MyFunctionPass> { +struct MyFunctionPass : public PassWrapper> { void runOnOperation() override { // Get the current FuncOp operation being operated on. FuncOp f = getOperation(); @@ -113,7 +113,7 @@ /// necessary utility hooks. This is only necessary for passes defined directly /// in C++. Passes defined declaratively use a cleaner mechanism for providing /// these utilities. -struct MyOperationPass : public PassWrapper, MyOperationPass> { +struct MyOperationPass : public PassWrapper> { void runOnOperation() override { // Get the current operation being operated on. Operation *op = getOperation();