clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Ied103a88e82b2e565c5e5608a5cb6bd0ba67780a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/manager/config-validator.cpp b/manager/config-validator.cpp
index 05b0157..825cee8 100644
--- a/manager/config-validator.cpp
+++ b/manager/config-validator.cpp
@@ -105,8 +105,8 @@
}
}
-static void
- validateConfigV1ForLedPriority(const phosphor::led::GroupMap& ledMap)
+static void validateConfigV1ForLedPriority(
+ const phosphor::led::GroupMap& ledMap)
{
PriorityMap priorityMap{};
for (const auto& [groupName, group] : ledMap)
@@ -137,8 +137,8 @@
}
}
-static void
- validateConfigV1ForGroupPriority(const phosphor::led::GroupMap& ledMap)
+static void validateConfigV1ForGroupPriority(
+ const phosphor::led::GroupMap& ledMap)
{
std::set<int> groupPriorities;
for (const auto& [_, group] : ledMap)
diff --git a/manager/manager.cpp b/manager/manager.cpp
index 325caa3..b571546 100644
--- a/manager/manager.cpp
+++ b/manager/manager.cpp
@@ -74,8 +74,8 @@
}
// create the resulting new map from all currently asserted groups
-std::map<LedName, Layout::LedAction>
- Manager::getNewMap(std::set<const Layout::GroupLayout*> assertedGroups)
+std::map<LedName, Layout::LedAction> Manager::getNewMap(
+ std::set<const Layout::GroupLayout*> assertedGroups)
{
std::map<LedName, Layout::LedAction> newState;