Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -6,12 +6,15 @@
#include <string>
namespace strings { class UniString; }
namespace strings
{
class UniString;
}
namespace feature
{
int constexpr g_arrWorldScales[] = { 3, 5, 7, scales::GetUpperWorldScale() };
int constexpr g_arrCountryScales[] = { 10, 12, 14, scales::GetUpperScale() };
int constexpr g_arrWorldScales[] = {3, 5, 7, scales::GetUpperWorldScale()};
int constexpr g_arrCountryScales[] = {10, 12, 14, scales::GetUpperScale()};
static_assert(std::size(g_arrWorldScales) == std::size(g_arrCountryScales));
inline std::string GetTagForIndex(std::string const & prefix, size_t ind)
@@ -22,4 +25,4 @@ inline std::string GetTagForIndex(std::string const & prefix, size_t ind)
uint8_t PopulationToRank(uint64_t p);
uint64_t RankToPopulation(uint8_t r);
} // namespace feature
} // namespace feature