clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Id8301a67d945f8a3d1ceb87ae59087100338119c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/vpd-tool/include/tool_utils.hpp b/vpd-tool/include/tool_utils.hpp
index 4306da5..598cdd2 100644
--- a/vpd-tool/include/tool_utils.hpp
+++ b/vpd-tool/include/tool_utils.hpp
@@ -189,9 +189,9 @@
*
* @throw std::runtime_error, sdbusplus::exception::SdBusError
*/
-inline types::DbusVariantType
- readKeywordFromHardware(const std::string& i_eepromPath,
- const types::ReadVpdParams i_paramsToReadData)
+inline types::DbusVariantType readKeywordFromHardware(
+ const std::string& i_eepromPath,
+ const types::ReadVpdParams i_paramsToReadData)
{
if (i_eepromPath.empty())
{
@@ -355,9 +355,9 @@
*
* @throw - std::runtime_error, sdbusplus::exception::SdBusError
*/
-inline int
- writeKeywordOnHardware(const std::string& i_eepromPath,
- const types::WriteVpdParams& i_paramsToWriteData)
+inline int writeKeywordOnHardware(
+ const std::string& i_eepromPath,
+ const types::WriteVpdParams& i_paramsToWriteData)
{
if (i_eepromPath.empty())
{
diff --git a/vpd-tool/include/vpd_tool.hpp b/vpd-tool/include/vpd_tool.hpp
index f26a0a3..7898d00 100644
--- a/vpd-tool/include/vpd_tool.hpp
+++ b/vpd-tool/include/vpd_tool.hpp
@@ -77,8 +77,8 @@
* format, otherwise returns empty JSON. The caller of this API should
* handle empty JSON.
*/
- nlohmann::json
- getFruTypeProperty(const std::string& i_objectPath) const noexcept;
+ nlohmann::json getFruTypeProperty(
+ const std::string& i_objectPath) const noexcept;
/**
* @brief Check if a FRU is present in the system.