I don't think the deadlock-avoiding algorithm will be needed for several locks, but this seems harmless to enable as a style cleanup for single scoped locks.
refactor: Enable modernize-use-scoped-lock #389
pull maflcko wants to merge 1 commits into bitcoin-core:master from maflcko:2610-tidy changing 3 files +5 −4-
maflcko commented at 8:15 PM on November 3, 2026: contributor
-
refactor: Enable modernize-use-scoped-lock ee06487d86
-
DrahtBot commented at 8:15 PM on November 3, 2026: none
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline and AI policy for information on the review process. A summary of reviews will appear here.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
- ryanofsky approved
-
ryanofsky commented at 6:24 PM on November 4, 2026: collaborator
Code review ACK ee06487d861c929b275ae532053f7646f0e1a049. Thanks for the cleanup. And since
.clang-tidytreats warnings as errors, the llvm CI job will keep new code consistent.Planning to merge this so it can be included in the subtree update bitcoin/bitcoin#36747.
- ryanofsky merged this on Nov 4, 2026
- ryanofsky closed this on Nov 4, 2026
- maflcko deleted the branch on Nov 4, 2026