Skip to content

Commit 567c0de

Browse files
PietroGhgasl
authored andcommitted
Remove isPrivate/canDiscardOneUseEmpty manual definitions
Signed-off-by: Pietro Ghiglio <pghiglio@accesssoftek.com>
1 parent 142a0fe commit 567c0de

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/p4mlir/Dialect/P4HIR/P4HIR_Ops.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,9 +1421,6 @@ def ControlLocalOp : P4HIR_Op<"control_local",
14211421
let hasVerifier = 0;
14221422

14231423
let extraClassDeclaration = [{
1424-
// TODO: Remove after https://github.com/llvm/llvm-project/pull/151036 would be in third-party
1425-
bool isPrivate() { return true; }
1426-
bool canDiscardOnUseEmpty() { return true; }
14271424
Visibility getVisibility() { return Visibility::Private; }
14281425
}];
14291426

@@ -1553,9 +1550,6 @@ def ExternOp : P4HIR_Op<"extern",
15531550
let extraClassDeclaration = [{
15541551
mlir::Block &createEntryBlock();
15551552

1556-
// TODO: Remove after https://github.com/llvm/llvm-project/pull/151036 would be in third-party
1557-
bool isPrivate() { return true; }
1558-
bool canDiscardOnUseEmpty() { return true; }
15591553
Visibility getVisibility() { return Visibility::Private; }
15601554
}];
15611555
}

0 commit comments

Comments
 (0)