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/procedures/phal/reinit_devtree.cpp b/procedures/phal/reinit_devtree.cpp
index f0cf22e..5ad0385 100644
--- a/procedures/phal/reinit_devtree.cpp
+++ b/procedures/phal/reinit_devtree.cpp
@@ -165,9 +165,9 @@
}
// Step 1: export devtree data based on the reinit attribute list.
- auto ret = dtree_cronus_export(CEC_DEVTREE_RW_PATH, CEC_INFODB_PATH,
- DEVTREE_REINIT_ATTRS_LIST,
- fpExport.get());
+ auto ret =
+ dtree_cronus_export(CEC_DEVTREE_RW_PATH, CEC_INFODB_PATH,
+ DEVTREE_REINIT_ATTRS_LIST, fpExport.get());
if (ret)
{
log<level::ERR>(
diff --git a/procedures/phal/start_host.cpp b/procedures/phal/start_host.cpp
index e6f01ec..51e46ab 100644
--- a/procedures/phal/start_host.cpp
+++ b/procedures/phal/start_host.cpp
@@ -180,10 +180,9 @@
*
* @return void
*/
-static void
- createPELForHwIsolationSettingsErr(const std::string& procedureCode,
- const std::string& priority,
- const pel::FFDCData& additionalData)
+static void createPELForHwIsolationSettingsErr(
+ const std::string& procedureCode, const std::string& priority,
+ const pel::FFDCData& additionalData)
{
try
{