maflcko
commented at 9:57 AM on October 21, 2026:
member
Enable some bugprone clang-tidy checks, which seem useful.
Apart from a test-only bug, they didn't find anything severe, but I think it still makes sense to enable them, so that it is easier to read the resulting code. Also, it is trivial to disable them, if they turn out annoying.
DrahtBot renamed this: refactor: Enable more tidy bugprone checks refactor: Enable more tidy bugprone checks on Oct 21, 2026
DrahtBot added the label Refactoring on Oct 21, 2026
DrahtBot
commented at 9:57 AM on October 21, 2026:
contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:
Possibly due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.
A sanitizer issue, which can only be found by compiling with the sanitizer and running the
affected test.
An intermittent issue.
Leave a comment here, if you need help tracking down a confusing failure.
</details>
maflcko force-pushed on Oct 21, 2026
hebasto
commented at 10:55 AM on October 21, 2026:
member
Enable some bugprone clang-tidy checks...
Concept ACK.
maflcko force-pushed on Oct 21, 2026
DrahtBot removed the label CI failed on Oct 21, 2026
refactor: Enable bugprone-unused-raii
The code change does not change any behavior, because the name is not
used in the compile-time context.
Also, instead of using the erase-remove idiom consistenly, just use the
C++20 std::erase here.
Note: Wallets are unique, so the code change does not change any
behavior.
fa077e9f79
refactor: Enable some useful bugprone checks, which are clean right now
Also, sort
fa3384c36a
refactor: Enable bugprone-return-const-ref-from-parameter to find missing LIFETIMEBOUND annotations
Whenever the check fires, a missing LIFETIMEBOUND should be added.
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-10-21 18:51 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me