Skip to content

Commit

Permalink
Patch gcovr script
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagepc committed Sep 17, 2023
1 parent 1d1d2f2 commit 6340421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/gcovr.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ def process_gcov_data(data_fname, covdata, source_fname, options):
elif tmp[0] == '=':
is_code_statement = True
uncovered_exceptional.add(lineno)
elif tmp[0] in "0123456789":
elif tmp[0] in "0123456789" and not segments[0].endswith("*"):
is_code_statement = True
covered[lineno] = int(segments[0].strip())
elif tmp.startswith('branch'):
Expand Down

0 comments on commit 6340421

Please sign in to comment.