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/processing.cpp b/src/processing.cpp
index f0fcd94..79d79ba 100644
--- a/src/processing.cpp
+++ b/src/processing.cpp
@@ -34,8 +34,8 @@
auto inSkipList = std::find_if(skipNamespaces.begin(), skipNamespaces.end(),
[&processName](auto prefix) {
- return processName.starts_with(prefix);
- }) != skipNamespaces.end();
+ return processName.starts_with(prefix);
+ }) != skipNamespaces.end();
return !(inSkipList || processName.empty());
}
@@ -97,13 +97,11 @@
}
}
-void processInterfaceAdded(boost::asio::io_context& io,
- InterfaceMapType& interfaceMap,
- const sdbusplus::message::object_path& objPath,
- const InterfacesAdded& intfAdded,
- const std::string& wellKnown,
- AssociationMaps& assocMaps,
- sdbusplus::asio::object_server& server)
+void processInterfaceAdded(
+ boost::asio::io_context& io, InterfaceMapType& interfaceMap,
+ const sdbusplus::message::object_path& objPath,
+ const InterfacesAdded& intfAdded, const std::string& wellKnown,
+ AssociationMaps& assocMaps, sdbusplus::asio::object_server& server)
{
auto& ifaceList = interfaceMap[objPath.str];