clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I555df8382455157bff44671b6f284e3121d5c182
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/handler.cpp b/src/handler.cpp
index 4f431d5..7705e3c 100644
--- a/src/handler.cpp
+++ b/src/handler.cpp
@@ -36,9 +36,9 @@
}
}
-std::vector<InterfaceMapType::value_type>
- getAncestors(const InterfaceMapType& interfaceMap, std::string reqPath,
- std::vector<std::string>& interfaces)
+std::vector<InterfaceMapType::value_type> getAncestors(
+ const InterfaceMapType& interfaceMap, std::string reqPath,
+ std::vector<std::string>& interfaces)
{
// Interfaces need to be sorted for intersect to function
std::sort(interfaces.begin(), interfaces.end());
@@ -135,9 +135,9 @@
return results;
}
-std::vector<InterfaceMapType::value_type>
- getSubTree(const InterfaceMapType& interfaceMap, std::string reqPath,
- int32_t depth, std::vector<std::string>& interfaces)
+std::vector<InterfaceMapType::value_type> getSubTree(
+ const InterfaceMapType& interfaceMap, std::string reqPath, int32_t depth,
+ std::vector<std::string>& interfaces)
{
if (depth <= 0)
{
@@ -203,9 +203,9 @@
return ret;
}
-std::vector<std::string>
- getSubTreePaths(const InterfaceMapType& interfaceMap, std::string reqPath,
- int32_t depth, std::vector<std::string>& interfaces)
+std::vector<std::string> getSubTreePaths(const InterfaceMapType& interfaceMap,
+ std::string reqPath, int32_t depth,
+ std::vector<std::string>& interfaces)
{
if (depth <= 0)
{