Move and update clang-format
Use a single clang-format file at the root, so CI can find it, and
update it to the latest.
Change-Id: I07e1bf659466ee79e2215dba905226af04e23d32
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
diff --git a/callback-manager/src/callback_manager.cpp b/callback-manager/src/callback_manager.cpp
index 9d67808..97f74f1 100644
--- a/callback-manager/src/callback_manager.cpp
+++ b/callback-manager/src/callback_manager.cpp
@@ -199,9 +199,9 @@
}
if constexpr (debug)
{
- std::cerr << "Set " << ledPair.first << " to "
- << std::boolalpha
- << std::get<bool>(ledPair.second) << "\n";
+ std::cerr
+ << "Set " << ledPair.first << " to " << std::boolalpha
+ << std::get<bool>(ledPair.second) << "\n";
}
},
ledManagerBusname, ledPair.first, "org.freedesktop.DBus.Properties",
@@ -211,7 +211,6 @@
void createThresholdMatch(std::shared_ptr<sdbusplus::asio::connection>& conn)
{
-
static sdbusplus::bus::match_t match(
static_cast<sdbusplus::bus_t&>(*conn),
"type='signal',member='ThresholdAsserted'",
@@ -361,8 +360,9 @@
std::shared_ptr<sdbusplus::asio::dbus_interface> rootIface =
objServer.add_interface(rootPath,
"xyz.openbmc_project.CallbackManager");
- rootIface->register_method("RetriggerLEDUpdate",
- [&conn]() { updateLedStatus(conn, true); });
+ rootIface->register_method("RetriggerLEDUpdate", [&conn]() {
+ updateLedStatus(conn, true);
+ });
rootIface->initialize();
std::shared_ptr<sdbusplus::asio::dbus_interface> inventoryIface =