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

@@ -15,8 +15,8 @@ std::string AddGroupingSeparators(std::string const & valueString, std::string c
std::string out(valueString);
if (out.size() > 4 && !groupingSeparator.empty())
for (int pos = out.size() - 3; pos > 0; pos -= 3)
out.insert(pos, groupingSeparator);
for (int pos = out.size() - 3; pos > 0; pos -= 3)
out.insert(pos, groupingSeparator);
return out;
}
@@ -160,13 +160,11 @@ UNIT_TEST(ToStringPrecisionLocale)
std::string d1String;
};
TestData testData[] = {
// Locale name , Decimal
{ "en_US.UTF-8", "9.8"},
{ "es_ES.UTF-8", "9,8"},
{ "fr_FR.UTF-8", "9,8"},
{ "ru_RU.UTF-8", "9,8"}
};
TestData testData[] = {// Locale name , Decimal
{"en_US.UTF-8", "9.8"},
{"es_ES.UTF-8", "9,8"},
{"fr_FR.UTF-8", "9,8"},
{"ru_RU.UTF-8", "9,8"}};
for (TestData const & data : testData)
{