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: I21d2ca8065f24fd73509229c517f5caf48934b60
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/extensions/openpower-pels/src.hpp b/extensions/openpower-pels/src.hpp
index a09f286..edd26e1 100644
--- a/extensions/openpower-pels/src.hpp
+++ b/extensions/openpower-pels/src.hpp
@@ -272,9 +272,9 @@
* @param[in] toCache - boolean to cache registry in memory, default=false
* @return std::optional<std::string> - Error details
*/
- std::optional<std::string> getErrorDetails(message::Registry& registry,
- DetailLevel type,
- bool toCache = false) const;
+ std::optional<std::string>
+ getErrorDetails(message::Registry& registry, DetailLevel type,
+ bool toCache = false) const;
/**
* @brief Says if this SRC was created by the BMC (i.e. this code).
@@ -470,12 +470,12 @@
* @param[in] dataIface - The DataInterface object
* @param[in] mrus - The MRUs to add to the callout
*/
- void
- addInventoryCallout(const std::string& inventoryPath,
- const std::optional<CalloutPriority>& priority,
- const std::optional<std::string>& locationCode,
- const DataInterfaceBase& dataIface,
- const std::vector<src::MRU::MRUCallout>& mrus = {});
+ void addInventoryCallout(
+ const std::string& inventoryPath,
+ const std::optional<CalloutPriority>& priority,
+ const std::optional<std::string>& locationCode,
+ const DataInterfaceBase& dataIface,
+ const std::vector<src::MRU::MRUCallout>& mrus = {});
/**
* @brief Returns the callouts to use from the registry entry.
@@ -484,10 +484,9 @@
* @param[in] additionalData - The AdditionalData property
* @param[in] dataIface - The DataInterface object
*/
- std::vector<message::RegistryCallout>
- getRegistryCallouts(const message::Entry& regEntry,
- const AdditionalData& additionalData,
- const DataInterfaceBase& dataIface);
+ std::vector<message::RegistryCallout> getRegistryCallouts(
+ const message::Entry& regEntry, const AdditionalData& additionalData,
+ const DataInterfaceBase& dataIface);
/**
* @brief Adds the FRU callouts from the list of registry callouts