build: bump clang tools to 20 (#7573)

* build: bump to clang-format-20

* build: bump to clang-tidy-20

* chore: revert edc59ba5d8
This commit is contained in:
Yat Ho
2025-12-02 13:18:02 +08:00
committed by GitHub
parent 05aef3e787
commit 9dd9aab902
55 changed files with 718 additions and 601 deletions

View File

@@ -977,11 +977,12 @@ void DetailsDialog::Impl::refreshInfo(std::vector<tr_torrent*> const& torrents)
}
else
{
auto const downloaded_str = tr_strlsize(std::accumulate(
std::begin(stats),
std::end(stats),
uint64_t{ 0 },
[](auto sum, auto const* st) { return sum + st->downloadedEver; }));
auto const downloaded_str = tr_strlsize(
std::accumulate(
std::begin(stats),
std::end(stats),
uint64_t{ 0 },
[](auto sum, auto const* st) { return sum + st->downloadedEver; }));
auto const failed = std::accumulate(
std::begin(stats),