Skip to content

re-pin cppcheck suppression to line number#225

Merged
cameroncuster merged 1 commit into
devfrom
restore-cppcheck-line-pin
Jul 6, 2026
Merged

re-pin cppcheck suppression to line number#225
cameroncuster merged 1 commit into
devfrom
restore-cppcheck-line-pin

Conversation

@cameroncuster

Copy link
Copy Markdown
Member

Restores the line-pinned convention for the one cppcheck suppression that lost it.

In #222 the ctuOneDefinitionRuleViolation suppression for data_structures_[l,r)/bit.hpp was made file-level as a quick fix after #220 shifted struct BIT from line 14 to 15, breaking the pinned entry. We've since decided file-level suppressions are undesirable (they hide the check for the whole file), so this re-pins the entry to the current line:

ctuOneDefinitionRuleViolation:../library/data_structures_[l,r)/bit.hpp:15

All other suppressions in the list were already line-pinned and are untouched. The related PR #224 (which would have made all suppressions file-level) has been closed.

@cameroncuster cameroncuster merged commit 4387d6f into dev Jul 6, 2026
8 checks passed
@cameroncuster cameroncuster deleted the restore-cppcheck-line-pin branch July 6, 2026 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant