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: I299e3888aee418ddcf391a44cd9ba563edabfe83
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/extensions/phal/dump_utils.cpp b/extensions/phal/dump_utils.cpp
index dff3470..6d2a666 100644
--- a/extensions/phal/dump_utils.cpp
+++ b/extensions/phal/dump_utils.cpp
@@ -75,8 +75,8 @@
sdbusplus::bus::match::rules::propertiesChanged(
path.c_str(), matchInterface.c_str()),
[&](auto& msg) {
- return dumpStatusChanged(msg, path, inProgress);
- });
+ return dumpStatusChanged(msg, path, inProgress);
+ });
// wait for dump status to be completed (complete == true)
// or until timeout interval
@@ -117,8 +117,8 @@
try
{
std::string service = util::getService(bus, path, interface);
- auto method = bus.new_method_call(service.c_str(), path, interface,
- function);
+ auto method =
+ bus.new_method_call(service.c_str(), path, interface, function);
// dbus call arguments
std::map<std::string, std::variant<std::string, uint64_t>> createParams;