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: I08efc0671773edfae814ebcda5c01389155e2cac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/item_updater.hpp b/src/item_updater.hpp
index 61ff666..2bfd39c 100644
--- a/src/item_updater.hpp
+++ b/src/item_updater.hpp
@@ -51,11 +51,11 @@
*/
ItemUpdater(sdbusplus::bus_t& bus, const std::string& path) :
ItemUpdaterInherit(bus, path.c_str()), bus(bus),
- versionMatch(bus,
- MatchRules::interfacesAdded() +
- MatchRules::path(SOFTWARE_OBJPATH),
- std::bind(std::mem_fn(&ItemUpdater::createActivation),
- this, std::placeholders::_1)),
+ versionMatch(
+ bus,
+ MatchRules::interfacesAdded() + MatchRules::path(SOFTWARE_OBJPATH),
+ std::bind(std::mem_fn(&ItemUpdater::createActivation), this,
+ std::placeholders::_1)),
psuInterfaceMatch(
bus,
MatchRules::interfacesAdded() +
@@ -142,12 +142,11 @@
const AssociationList& assocs, const std::string& filePath);
/** @brief Create Version object */
- std::unique_ptr<Version>
- createVersionObject(const std::string& objPath,
- const std::string& versionId,
- const std::string& versionString,
- sdbusplus::xyz::openbmc_project::Software::server::
- Version::VersionPurpose versionPurpose);
+ std::unique_ptr<Version> createVersionObject(
+ const std::string& objPath, const std::string& versionId,
+ const std::string& versionString,
+ sdbusplus::xyz::openbmc_project::Software::server::Version::
+ VersionPurpose versionPurpose);
/** @brief Create Activation and Version object for PSU inventory
* @details If the same version exists for multiple PSUs, just add