Commit ffa67f7
committed
Merge dashpay#7042: fix: re-enable cppcheck and bump its version
9bde19e test: more clear names of white & black list for cpp check: ALWAYS_ENABLED_WARNINGS / SUPPRESSED_WARNINGS (Konstantin Akimov)
cefc57a fix: ignore unexpected cppcheck for some files (Konstantin Akimov)
1b2900b test: remove unused exceptions for cppcheck (Konstantin Akimov)
fbac886 fix: re-active cppcheck (Konstantin Akimov)
78e613a ci: bump cppcheck version in a container to 2.17.1 (Konstantin Akimov)
72d1d34 refactor: fix cppcheck warning for cachemultimap.h (Konstantin Akimov)
8e064b3 refactor: fix warnings of cppcheck for netinfo.h (Konstantin Akimov)
ec8a438 test: run cpp-check with --check-level=exhaustive (Konstantin Akimov)
Pull request description:
## Issue being fixed or feature implemented
The previous logic had an intersection of black & white list for exception, and only warnings that got in the white list have been shown.
Everything that has not been matched with whitelist should be filtered by blacklist (exceptions), but not only whitelist matches
## What was done?
- fixed blacklist & whitelist filtering
- bump cpp-check to 2.17.1 (from 2.13.0)
- removed outdated exceptions for cppcheck
- added new exception for cppcheck
- fixed warnings in `evo/mninfo.h` and `cachemultimap.h`
## How Has This Been Tested?
Run locally
## Breaking Changes
N/A
## Checklist:
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e tests
- [ ] I have made corresponding changes to the documentation
- [x] I have assigned this pull request to a milestone
ACKs for top commit:
UdjinM6:
utACK 9bde19e
Tree-SHA512: b115a17d4b6911d1bbd529122fd979364ef07f2847f87a79caa94ee59a7e1a8f6b3fe8b811aa2bd30954d3b097d5f01952613105a3d6d755ce5102f4fdf7c47aFile tree
4 files changed
+17
-31
lines changed- contrib/containers/ci
- src
- evo
- test/lint
4 files changed
+17
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | | - | |
156 | | - | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | 315 | | |
318 | 316 | | |
319 | 317 | | |
| |||
398 | 396 | | |
399 | 397 | | |
400 | 398 | | |
401 | | - | |
402 | | - | |
403 | 399 | | |
404 | 400 | | |
405 | 401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 36 | + | |
47 | 37 | | |
48 | 38 | | |
49 | 39 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
56 | 43 | | |
57 | 44 | | |
58 | 45 | | |
| |||
85 | 72 | | |
86 | 73 | | |
87 | 74 | | |
88 | | - | |
89 | | - | |
| 75 | + | |
| 76 | + | |
90 | 77 | | |
91 | 78 | | |
92 | 79 | | |
| |||
107 | 94 | | |
108 | 95 | | |
109 | 96 | | |
| 97 | + | |
110 | 98 | | |
111 | 99 | | |
112 | 100 | | |
| |||
130 | 118 | | |
131 | 119 | | |
132 | 120 | | |
133 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
134 | 124 | | |
135 | 125 | | |
136 | 126 | | |
137 | 127 | | |
138 | 128 | | |
139 | 129 | | |
140 | | - | |
| 130 | + | |
141 | 131 | | |
142 | 132 | | |
143 | 133 | | |
| |||
0 commit comments