clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Iac96affe709a51dd865117d006cb033cf5c624b1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/extensions/openpower-pels/repository.hpp b/extensions/openpower-pels/repository.hpp
index c6683d8..483f619 100644
--- a/extensions/openpower-pels/repository.hpp
+++ b/extensions/openpower-pels/repository.hpp
@@ -307,8 +307,8 @@
*
* @return The attributes or an empty optional if not found
*/
- std::optional<std::reference_wrapper<const PELAttributes>>
- getPELAttributes(const LogID& id) const;
+ std::optional<std::reference_wrapper<const PELAttributes>> getPELAttributes(
+ const LogID& id) const;
/**
* @brief Returns the attributes map so that others can traverse PELs.
@@ -477,8 +477,8 @@
*
* @return an iterator to the entry
*/
- std::map<LogID, PELAttributes>::const_iterator
- findPEL(const LogID& id) const
+ std::map<LogID, PELAttributes>::const_iterator findPEL(
+ const LogID& id) const
{
return std::find_if(_pelAttributes.begin(), _pelAttributes.end(),
[&id](const auto& a) { return a.first == id; });