refactor: Enable more clang-tidy readability checks (#6595)

Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
Alex Kremer
2026-03-24 15:42:12 +00:00
committed by GitHub
parent 8b986e4ab0
commit 0eedefbf45
248 changed files with 948 additions and 935 deletions

View File

@@ -37,7 +37,7 @@ struct Directory_test : public beast::unit_test::suite
// Insert n empty pages, numbered [0, ... n - 1], in the
// specified directory:
void
static void
makePages(Sandbox& sb, uint256 const& base, std::uint64_t n)
{
for (std::uint64_t i = 0; i < n; ++i)
@@ -274,7 +274,7 @@ struct Directory_test : public beast::unit_test::suite
{
for (int i = 0; i < dirNodeMaxEntries; ++i)
{
env(offer_cancel(alice, firstOfferSeq + page * dirNodeMaxEntries + i));
env(offer_cancel(alice, firstOfferSeq + (page * dirNodeMaxEntries) + i));
env.close();
}
}