Skip to content

Commit

Permalink
Ignore protected functions for expression coverage. Issue xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
nickg committed Feb 2, 2025
1 parent 9bc6cef commit d3eba3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cov/cov-data.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,9 @@ cover_item_t *cover_add_items_for(cover_data_t *data, cover_scope_t *cs,
case COV_ITEM_EXPRESSION:
{
tree_t tree = tree_from_object(obj);
if (tree_kind(tree) == T_PROT_FCALL)
break;

assert(tree_kind(tree) == T_FCALL);

// Choose if to emit for built-in or "std_logic"
Expand Down

0 comments on commit d3eba3f

Please sign in to comment.