clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I95f756bab7f403af49a94011bbb1fe4e51f985ad
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/libpldmresponder/bios_table.hpp b/libpldmresponder/bios_table.hpp
index 40839ae..61af79d 100644
--- a/libpldmresponder/bios_table.hpp
+++ b/libpldmresponder/bios_table.hpp
@@ -164,8 +164,8 @@
* @param[in] str - string itself
* @return pointer to the constructed entry
*/
-const pldm_bios_string_table_entry*
- constructEntry(Table& table, const std::string& str);
+const pldm_bios_string_table_entry* constructEntry(Table& table,
+ const std::string& str);
} // namespace string
@@ -193,16 +193,16 @@
* @param[in] handle - attribute handle
* @return Pointer to the attribute table entry
*/
-const pldm_bios_attr_table_entry*
- findByHandle(const Table& table, uint16_t handle);
+const pldm_bios_attr_table_entry* findByHandle(const Table& table,
+ uint16_t handle);
/** @brief Find attribute entry by string handle
* @param[in] table - attribute table
* @param[in] handle - string handle
* @return Pointer to the attribute table entry
*/
-const pldm_bios_attr_table_entry*
- findByStringHandle(const Table& table, uint16_t handle);
+const pldm_bios_attr_table_entry* findByStringHandle(const Table& table,
+ uint16_t handle);
/** @struct StringField
* @brief String field of attribute table
@@ -317,8 +317,8 @@
* @param[in] entry - Pointer to an attribute value table entry
* @return Current value string handle indices
*/
-std::vector<uint8_t>
- decodeEnumEntry(const pldm_bios_attr_val_table_entry* entry);
+std::vector<uint8_t> decodeEnumEntry(
+ const pldm_bios_attr_val_table_entry* entry);
/** @brief Construct string entry of attribute value table at the end of the
* given table
@@ -328,9 +328,9 @@
* @param[in] str - The string
* @return Pointer to the constructed entry
*/
-const pldm_bios_attr_val_table_entry*
- constructStringEntry(Table& table, uint16_t attrHandle, uint8_t attrType,
- const std::string& str);
+const pldm_bios_attr_val_table_entry* constructStringEntry(
+ Table& table, uint16_t attrHandle, uint8_t attrType,
+ const std::string& str);
/** @brief Construct integer entry of attribute value table at the end of
* the given table
@@ -351,9 +351,9 @@
* @param[in] handleIndices - handle indices
* @return Pointer to the constructed entry
*/
-const pldm_bios_attr_val_table_entry*
- constructEnumEntry(Table& table, uint16_t attrHandle, uint8_t attrType,
- const std::vector<uint8_t>& handleIndices);
+const pldm_bios_attr_val_table_entry* constructEnumEntry(
+ Table& table, uint16_t attrHandle, uint8_t attrType,
+ const std::vector<uint8_t>& handleIndices);
/** @brief construct a table with an new entry
* @param[in] table - the table need to be updated