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: I66785e0aa71a93f9370db0168049cd62c1f69728
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/extensions/phal/create_pel.cpp b/extensions/phal/create_pel.cpp
index c834419..95ee7ae 100644
--- a/extensions/phal/create_pel.cpp
+++ b/extensions/phal/create_pel.cpp
@@ -104,11 +104,11 @@
static_cast<uint8_t>(0xCA),
static_cast<uint8_t>(0x01), ffdcFile.getFileFD()));
- std::string service =
- util::getService(bus, loggingObjectPath, loggingInterface);
- auto method =
- bus.new_method_call(service.c_str(), loggingObjectPath,
- loggingInterface, "CreateWithFFDCFiles");
+ std::string service = util::getService(bus, loggingObjectPath,
+ loggingInterface);
+ auto method = bus.new_method_call(service.c_str(), loggingObjectPath,
+ loggingInterface,
+ "CreateWithFFDCFiles");
auto level =
sdbusplus::xyz::openbmc_project::Logging::server::convertForMessage(
severity);
@@ -204,11 +204,11 @@
try
{
- std::string service =
- util::getService(bus, loggingObjectPath, opLoggingInterface);
- auto method =
- bus.new_method_call(service.c_str(), loggingObjectPath,
- opLoggingInterface, "CreatePELWithFFDCFiles");
+ std::string service = util::getService(bus, loggingObjectPath,
+ opLoggingInterface);
+ auto method = bus.new_method_call(service.c_str(), loggingObjectPath,
+ opLoggingInterface,
+ "CreatePELWithFFDCFiles");
auto level =
sdbusplus::xyz::openbmc_project::Logging::server::convertForMessage(
severity);
@@ -253,8 +253,8 @@
try
{
- std::string service =
- util::getService(bus, loggingObjectPath, loggingInterface);
+ std::string service = util::getService(bus, loggingObjectPath,
+ loggingInterface);
auto method = bus.new_method_call(service.c_str(), loggingObjectPath,
loggingInterface, "Create");
auto level =