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: I8c84201cb2343a8c8a5507a49de0721a1bee7063
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/libpldmresponder/test/libpldmresponder_fru_test.cpp b/libpldmresponder/test/libpldmresponder_fru_test.cpp
index d654fca..f4a1202 100644
--- a/libpldmresponder/test/libpldmresponder_fru_test.cpp
+++ b/libpldmresponder/test/libpldmresponder_fru_test.cpp
@@ -134,8 +134,8 @@
mockedFruHandler.updateAssociationTree(
objects, "/xyz/openbmc_project/inventory/system/chassis/motherboard");
- pldm_entity_node* node = pldm_entity_association_tree_find(entityTree.get(),
- &systemEntity);
+ pldm_entity_node* node =
+ pldm_entity_association_tree_find(entityTree.get(), &systemEntity);
EXPECT_TRUE(node != NULL);
node = pldm_entity_association_tree_find(entityTree.get(), &chassisEntity);
@@ -143,8 +143,8 @@
test_pldm_entity_node* test_node = (test_pldm_entity_node*)node;
EXPECT_TRUE((test_node->parent).entity_type == systemEntity.entity_type);
- node = pldm_entity_association_tree_find(entityTree.get(),
- &motherboardEntity);
+ node =
+ pldm_entity_association_tree_find(entityTree.get(), &motherboardEntity);
ASSERT_TRUE(node != NULL);
test_node = (test_pldm_entity_node*)node;
EXPECT_TRUE((test_node->parent).entity_type == chassisEntity.entity_type);