Commit 18d6f16
committed
Merge #7103: backport: bitcoin#26705, bitcoin#26706, bitcoin-core/gui#686 - clang-tidy: for all headers and related fixes
f842c28 Merge bitcoin#26705: clang-tidy: Fix `modernize-use-default-member-init` in headers and force to check all headers (MarcoFalke)
6b2b1fe Merge bitcoin-core/gui#686: clang-tidy: Force checks for headers in `src/qt` (Hennadii Stepanov)
2772030 Merge bitcoin#26706: doc: Properly report optional RPC args (fanquake)
3173806 lint: multiple clang-tidy warnings for dash specific code (Konstantin Akimov)
3779f71 refactor: replace define to const for default sample height in traffic widged (Konstantin Akimov)
2c07d66 refactor: simplify GetParams to GetLLLMQType in dkgsession's interface (Konstantin Akimov)
a0cd036 fix: follow-up for bitcoin#24925 - use rand values instead 0 (Konstantin Akimov)
1c7f056 fix: add clang-tidy nolint exception readability-redundant-declaration for cs_main forward declarations (Konstantin Akimov)
8a635ec ci: add a new category of commits `lint` which groups refactorings and fixes to please linters (Konstantin Akimov)
Pull request description:
## What was done?
Backport bitcoin#26705 to enforce clang-tidy for all headers.
This backport:
- fixes the only [remained](bitcoin#26705 (comment)) check in headers, i.e., `modernize-use-default-member-init`
- forces `clang-tidy` check all headers
It has significant amount of failures for dash specific code; this backport is extracted from #7100 to its own PR and 2 more PRs are added to fix multiple issues in backported code: bitcoin#26706, bitcoin-core/gui#686 to fix related failures.
## How Has This Been Tested?
Run CI & fix failures
## 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 f842c28
(a bit concerned about touching 3rd-party files but since we aren't going to update them from their upstream ever I think it's ok-ish to fix them too instead of complicating clang-tidy settings)
kwvg:
utACK f842c28
Tree-SHA512: 2efbf3bddc748351ff702f0eda29b50f72348e516ebbb0e6e784bafb20850e7a231255c5019838ba05152c3e73c48b2f5ca6f4856842f2c7e4664b0242cd1c57136 files changed
Lines changed: 304 additions & 388 deletions
File tree
- .github/workflows
- src
- active
- bls
- coinjoin
- crypto
- evo
- governance
- llmq
- masternode
- node
- policy
- qt
- rpc
- stats
- support
- allocators
- test
- fuzz
- util
- univalue/include
- util
- wallet
- zmq
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments