Skip to content

Commit

Permalink
hl: Do not print special MethodOp attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
frabert committed Jul 20, 2023
1 parent ef76f9d commit 8cb64a7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/vast/Dialect/HighLevel/HighLevelOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,14 @@ namespace vast::hl
);

mlir::function_interface_impl::printFunctionAttributes(
printer, op, {"linkage", op.getFunctionTypeAttrName() }
printer, op, {
"linkage",
op.getFunctionTypeAttrName(),
"is_virtual",
"is_const",
"is_volatile",
"ref"
}
);

if (!body.empty()) {
Expand Down

0 comments on commit 8cb64a7

Please sign in to comment.