clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I71c8504caaa31ac43ae0f20c002ed081078e3f48
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/fru_utils.cpp b/src/fru_utils.cpp
index c4b46cf..3ce9ef4 100644
--- a/src/fru_utils.cpp
+++ b/src/fru_utils.cpp
@@ -369,9 +369,9 @@
}
}
-resCodes
- formatIPMIFRU(const std::vector<uint8_t>& fruBytes,
- boost::container::flat_map<std::string, std::string>& result)
+resCodes formatIPMIFRU(
+ const std::vector<uint8_t>& fruBytes,
+ boost::container::flat_map<std::string, std::string>& result)
{
resCodes ret = resCodes::resOK;
if (fruBytes.size() <= fruBlockSize)
@@ -739,8 +739,8 @@
return false;
}
-std::pair<std::vector<uint8_t>, bool>
- readFRUContents(FRUReader& reader, const std::string& errorHelp)
+std::pair<std::vector<uint8_t>, bool> readFRUContents(
+ FRUReader& reader, const std::string& errorHelp)
{
std::array<uint8_t, I2C_SMBUS_BLOCK_MAX> blockData{};
off_t baseOffset = 0x0;