clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I73acd9daf41b52bcc3f6af9a1c38c5f162ae76b2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/IpmbSensor.cpp b/src/IpmbSensor.cpp
index 55224dd..3ee8283 100644
--- a/src/IpmbSensor.cpp
+++ b/src/IpmbSensor.cpp
@@ -155,7 +155,7 @@
[weakRef{weak_from_this()}](const boost::system::error_code& ec,
const IpmbMethodType& response) {
initCmdCb(weakRef, ec, response);
- },
+ },
"xyz.openbmc_project.Ipmi.Channel.Ipmb",
"/xyz/openbmc_project/Ipmi/Channel/Ipmb", "org.openbmc.Ipmb",
"sendRequest", commandAddress, netfn, lun, *initCommand, initData);
@@ -436,7 +436,7 @@
return;
}
self->ipmbRequestCompletionCb(ec, response);
- },
+ },
"xyz.openbmc_project.Ipmi.Channel.Ipmb",
"/xyz/openbmc_project/Ipmi/Channel/Ipmb", "org.openbmc.Ipmb",
"sendRequest", commandAddress, netfn, lun, command, commandData);
@@ -597,7 +597,7 @@
sensor->init();
}
}
- },
+ },
entityManagerName, "/xyz/openbmc_project/inventory",
"org.freedesktop.DBus.ObjectManager", "GetManagedObjects");
}
@@ -749,7 +749,7 @@
configInterfaceName(sdrInterface) + "'",
[&systemBus](sdbusplus::message_t& msg) {
sdrHandler(msg, systemBus);
- });
+ });
// Watch for entity-manager to remove configuration interfaces
// so the corresponding sensors can be removed.