Skip to content

Commit

Permalink
Add a TODO
Browse files Browse the repository at this point in the history
Signed-off-by: Rafal Kapuscik <rkapuscik@antmicro.com>
  • Loading branch information
Rafal Kapuscik committed May 12, 2022
1 parent dbd630a commit 0308bdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions systemverilog-plugin/UhdmAst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3270,6 +3270,7 @@ void UhdmAst::process_logic_var()
}
delete node;
});
// TODO: Handling below seems similar to other typespec accesses for range. Candidate for extraction to a function.
if (auto typespec_h = vpi_handle(vpiTypespec, obj_h)) {
visit_one_to_many({vpiRange}, typespec_h, [&](AST::AstNode *node) { packed_ranges.push_back(node); });
vpi_release_handle(typespec_h);
Expand Down

0 comments on commit 0308bdb

Please sign in to comment.