Skip to content

Commit

Permalink
[MISC] Ignore switch/case for gcov
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Aug 15, 2023
1 parent 5d22b73 commit e9447b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/hibf/interleaved_bloom_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ class interleaved_bloom_filter::membership_agent_type

// https://godbolt.org/z/1nbhvqeGj
// Having the loop inside is faster.
// GCOVR_EXCL_START
switch (bin_words)
{
case 1u: // 1 AND (64 bit)
Expand Down Expand Up @@ -809,6 +810,7 @@ class interleaved_bloom_filter::membership_agent_type
raw[batch] &= ibf_raw[batch];
}
}
// GCOVR_EXCL_STOP

return result_buffer;
}
Expand Down

0 comments on commit e9447b3

Please sign in to comment.