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

@@ -24,7 +24,7 @@ uint64_t GetOsmID(FeatureBuilder const & fb)
AddressesHolder::AddressInfo FromFB(FeatureBuilder const & fb)
{
auto const & params = fb.GetParams();
return { params.house.Get(), std::string(params.GetStreet()), std::string(params.GetPostcode()), {} };
return {params.house.Get(), std::string(params.GetStreet()), std::string(params.GetPostcode()), {}};
}
// Current stats:
@@ -35,8 +35,7 @@ void LogWarning(std::string const & msg, uint64_t id)
{
LOG(LWARNING, ("addr:interpolation: " + msg, id));
}
} // namespace
} // namespace
std::string AddressesHolder::AddressInfo::FormatRange() const
{
@@ -81,7 +80,6 @@ std::string AddressesHolder::AddressInfo::FormatRange() const
}
}
void AddressesHolder::Add(FeatureBuilder const & fb)
{
CHECK(fb.IsPoint(), ());
@@ -160,11 +158,7 @@ void AddressesHolder::Deserialize(std::string const & filePath)
}
}
AddressesCollector::AddressesCollector(std::string const & filename)
: CollectorInterface(filename)
{
}
AddressesCollector::AddressesCollector(std::string const & filename) : CollectorInterface(filename) {}
std::shared_ptr<CollectorInterface> AddressesCollector::Clone(IDRInterfacePtr const & cache) const
{
@@ -231,4 +225,4 @@ void AddressesCollector::MergeInto(AddressesCollector & collector) const
collector.m_interpolWays.emplace(e.first, e.second);
}
} // namespace generator
} // namespace generator