clang-format: copy latest and re-format
clang-format-16 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: I27b0d1357211259edb6ec2776924729052f238d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/attn/attn_dbus.cpp b/attn/attn_dbus.cpp
index 7613777..c0a5200 100644
--- a/attn/attn_dbus.cpp
+++ b/attn/attn_dbus.cpp
@@ -26,9 +26,9 @@
if (0 == util::dbus::findService(i_interface, i_path, service))
{
// return the method
- o_method =
- bus.new_method_call(service.c_str(), i_path.c_str(),
- i_interface.c_str(), i_function.c_str());
+ o_method = bus.new_method_call(service.c_str(), i_path.c_str(),
+ i_interface.c_str(),
+ i_function.c_str());
rc = RC_SUCCESS;
}
@@ -74,7 +74,7 @@
// dbus specifics
constexpr auto interface = "xyz.openbmc_project.Logging.Create";
- constexpr auto function = "Create";
+ constexpr auto function = "Create";
sdbusplus::message_t method;
@@ -105,7 +105,7 @@
// dbus specifics
constexpr auto interface = "org.open_power.Logging.PEL";
- constexpr auto function = "GetPEL";
+ constexpr auto function = "GetPEL";
sdbusplus::message_t method;
@@ -117,7 +117,7 @@
method.append(i_pelId);
// using system dbus
- auto bus = sdbusplus::bus::new_system();
+ auto bus = sdbusplus::bus::new_system();
auto response = bus.call(method);
// reply will be a unix file descriptor