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

@@ -44,7 +44,8 @@ public:
std::string_view GetMetadata(MetadataID type) const;
template <class FnT> void ForEachMetadataReadable(FnT && fn) const
template <class FnT>
void ForEachMetadataReadable(FnT && fn) const
{
m_metadata.ForEach([&fn](MetadataID id, std::string const & value)
{
@@ -58,8 +59,7 @@ public:
case MetadataID::FMD_CUSTOM_IDS:
case MetadataID::FMD_PRICE_RATES:
case MetadataID::FMD_RATINGS:
case MetadataID::FMD_EXTERNAL_URI:
break;
case MetadataID::FMD_EXTERNAL_URI: break;
default: fn(id, value); break;
}
});
@@ -92,8 +92,8 @@ public:
/// @}
bool IsPointType() const;
feature::GeomType GetGeomType() const { return m_geomType; };
int8_t GetLayer() const { return m_layer; };
feature::GeomType GetGeomType() const { return m_geomType; }
int8_t GetLayer() const { return m_layer; }
/// @returns true if object is of building type.
bool IsBuilding() const;
@@ -105,14 +105,14 @@ public:
/// @returns all localized POI types separated by kFieldsSeparator to display in UI.
std::string GetLocalizedAllTypes(bool withMainType) const;
protected:
/// @returns "the best" single type to display in UI.
std::string GetLocalizedType() const;
/// @returns all readable internal types separated by kFieldsSeparator for debugging.
std::string GetAllReadableTypes() const;
FeatureID m_featureID;
m2::PointD m_mercator;