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

@@ -22,7 +22,10 @@ namespace coasts_test
{
using feature::FeatureBuilder;
static m2::PointU D2I(double x, double y) { return PointDToPointU(m2::PointD(x, y), kPointCoordBits); }
static m2::PointU D2I(double x, double y)
{
return PointDToPointU(m2::PointD(x, y), kPointCoordBits);
}
class ProcessCoastsBase
{
@@ -90,9 +93,9 @@ class DoCopyCoasts : public ProcessCoastsBase
{
public:
DoCopyCoasts(std::string const & fName, std::vector<std::string> const & vID)
: ProcessCoastsBase(vID), m_collector(fName)
{
}
: ProcessCoastsBase(vID)
, m_collector(fName)
{}
void operator()(FeatureBuilder const & fb1, uint64_t)
{
@@ -116,7 +119,7 @@ UNIT_TEST(CellID_CheckRectPoints)
{
Id const cell = Id::FromBitsAndLevel(i, level);
std::pair<uint32_t, uint32_t> const xy = cell.XY();
uint32_t const r = 2*cell.Radius();
uint32_t const r = 2 * cell.Radius();
uint32_t const bound = (1 << level) * r;
double minX, minY, maxX, maxY;