clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ic68b91e23738cafe198c50f40e46d4163bda02b6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/handler.hpp b/src/handler.hpp
index 9e692e5..515c937 100644
--- a/src/handler.hpp
+++ b/src/handler.hpp
@@ -21,9 +21,9 @@
getSubTree(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);
+std::vector<std::string>
+ getSubTreePaths(const InterfaceMapType& interfaceMap, std::string reqPath,
+ int32_t depth, std::vector<std::string>& interfaces);
/**
* @brief Get the Associated Sub Tree object
@@ -40,12 +40,12 @@
*
* @return std::vector<InterfaceMapType::value_type>
*/
-std::vector<InterfaceMapType::value_type>
- getAssociatedSubTree(const InterfaceMapType& interfaceMap,
- const AssociationMaps& associationMaps,
- const sdbusplus::message::object_path& associationPath,
- const sdbusplus::message::object_path& reqPath,
- int32_t depth, std::vector<std::string>& interfaces);
+std::vector<InterfaceMapType::value_type> getAssociatedSubTree(
+ const InterfaceMapType& interfaceMap,
+ const AssociationMaps& associationMaps,
+ const sdbusplus::message::object_path& associationPath,
+ const sdbusplus::message::object_path& reqPath, int32_t depth,
+ std::vector<std::string>& interfaces);
/**
* @brief Get the Associated Sub Tree Paths object