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/pel.hpp b/extensions/openpower-pels/pel.hpp
index f6ff165..8abefa4 100644
--- a/extensions/openpower-pels/pel.hpp
+++ b/extensions/openpower-pels/pel.hpp
@@ -382,11 +382,10 @@
* @param[in] plugins - Vector of strings of plugins found in filesystem
* @param[in] creatorID - Creator Subsystem ID (only for UserData section)
*/
- void printSectionInJSON(const Section& section, std::string& buf,
- std::map<uint16_t, size_t>& pluralSections,
- message::Registry& registry,
- const std::vector<std::string>& plugins,
- uint8_t creatorID = 0) const;
+ void printSectionInJSON(
+ const Section& section, std::string& buf,
+ std::map<uint16_t, size_t>& pluralSections, message::Registry& registry,
+ const std::vector<std::string>& plugins, uint8_t creatorID = 0) const;
/**
* @brief Returns any callout JSON found in the FFDC files.
@@ -470,10 +469,9 @@
*
* @return std::unique_ptr<UserData> - The section
*/
-std::unique_ptr<UserData>
- makeSysInfoUserDataSection(const AdditionalData& ad,
- const DataInterfaceBase& dataIface,
- bool addUptime = true);
+std::unique_ptr<UserData> makeSysInfoUserDataSection(
+ const AdditionalData& ad, const DataInterfaceBase& dataIface,
+ bool addUptime = true);
/**
* @brief Reads data from an opened file descriptor.
@@ -491,8 +489,8 @@
* @param[in] componentID - The component ID of the PEL creator
* @param[in] file - The FFDC file information
*/
-std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID,
- const PelFFDCfile& file);
+std::unique_ptr<UserData>
+ makeFFDCuserDataSection(uint16_t componentID, const PelFFDCfile& file);
/**
* @brief Flattens a vector of strings into a vector of bytes suitable