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

@@ -18,8 +18,7 @@ struct TypeAggregatedDescription
bool IsEmpty() const
{
return IsNameEditable() || IsAddressEditable() || IsCuisineEditable() ||
!m_editableFields.empty();
return IsNameEditable() || IsAddressEditable() || IsCuisineEditable() || !m_editableFields.empty();
}
FeatureFields const & GetEditableFields() const { return m_editableFields; }
@@ -41,15 +40,14 @@ public:
EditorConfig() = default;
// TODO(mgsergio): Reduce overhead by matching uint32_t types instead of strings.
bool GetTypeDescription(std::vector<std::string> classificatorTypes,
TypeAggregatedDescription & outDesc) const;
bool GetTypeDescription(std::vector<std::string> classificatorTypes, TypeAggregatedDescription & outDesc) const;
std::vector<std::string> GetTypesThatCanBeAdded() const;
void SetConfig(pugi::xml_document const & doc);
// TODO(mgsergio): Implement this getter to avoid hard-code in XMLFeature::ApplyPatch.
// It should return [[phone, contact:phone, contact:mobile], [website, contact:website, url], ...].
//vector<vector<string>> GetAlternativeFields() const;
// vector<vector<string>> GetAlternativeFields() const;
private:
pugi::xml_document m_document;