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

@@ -8,7 +8,6 @@
#include <vector>
namespace search
{
using namespace ftypes;
@@ -23,32 +22,30 @@ class IsComplexPoiChecker : public ftypes::BaseChecker
{
// For MatchPOIsWithParent matching. Some entries may be controversial here, but keep as-is for now.
// POI near "Complex POI" matching.
base::StringIL const paths[] = {
{"aeroway", "aerodrome"},
{"amenity", "hospital"},
{"amenity", "university"},
{"building", "train_station"},
{"historic", "archaeological_site"},
{"historic", "castle"},
{"historic", "fort"},
{"landuse", "cemetery"},
{"landuse", "religious"},
{"landuse", "commercial"},
{"landuse", "forest"},
{"landuse", "industrial"},
{"landuse", "retail"},
{"leisure", "garden"},
{"leisure", "nature_reserve"},
{"leisure", "park"},
{"leisure", "stadium"},
{"leisure", "water_park"},
{"natural", "beach"},
{"office", "company"},
{"railway", "station"},
{"shop", "mall"},
{"tourism", "museum"},
{"tourism", "gallery"}
};
base::StringIL const paths[] = {{"aeroway", "aerodrome"},
{"amenity", "hospital"},
{"amenity", "university"},
{"building", "train_station"},
{"historic", "archaeological_site"},
{"historic", "castle"},
{"historic", "fort"},
{"landuse", "cemetery"},
{"landuse", "religious"},
{"landuse", "commercial"},
{"landuse", "forest"},
{"landuse", "industrial"},
{"landuse", "retail"},
{"leisure", "garden"},
{"leisure", "nature_reserve"},
{"leisure", "park"},
{"leisure", "stadium"},
{"leisure", "water_park"},
{"natural", "beach"},
{"office", "company"},
{"railway", "station"},
{"shop", "mall"},
{"tourism", "museum"},
{"tourism", "gallery"}};
Classificator const & c = classif();
for (auto const & path : paths)