clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Ic23653be3ed404980fd0e723d9ed8354e2b32579
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/dbus-sdr/storagecommands.cpp b/dbus-sdr/storagecommands.cpp
index fa27f22..d169367 100644
--- a/dbus-sdr/storagecommands.cpp
+++ b/dbus-sdr/storagecommands.cpp
@@ -232,8 +232,8 @@
recalculateHashes();
}
-std::pair<ipmi::Cc, std::vector<uint8_t>>
- getFru(ipmi::Context::ptr ctx, uint8_t devId)
+std::pair<ipmi::Cc, std::vector<uint8_t>> getFru(ipmi::Context::ptr ctx,
+ uint8_t devId)
{
if (lastDevId == devId && devId != 0xFF)
{
@@ -816,9 +816,9 @@
return false;
}
-static uint16_t
- getNextRecordID(const uint16_t recordID,
- const std::vector<std::filesystem::path>& selLogFiles)
+static uint16_t getNextRecordID(
+ const uint16_t recordID,
+ const std::vector<std::filesystem::path>& selLogFiles)
{
uint16_t nextRecordID = recordID + 1;
std::string entry;
@@ -1140,9 +1140,9 @@
uint8_t eventType, uint8_t eventData1, uint8_t eventData2,
uint8_t eventData3
*/
-ipmi::RspType<uint16_t>
- ipmiStorageAddSELEntry(uint16_t, uint8_t, uint32_t, uint16_t, uint8_t,
- uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)
+ipmi::RspType<uint16_t> ipmiStorageAddSELEntry(
+ uint16_t, uint8_t, uint32_t, uint16_t, uint8_t, uint8_t, uint8_t, uint8_t,
+ uint8_t, uint8_t, uint8_t)
{
// Per the IPMI spec, need to cancel any reservation when a SEL entry is
// added