clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ide19264aa5b2b01a5102b4b2a9cf226ba8dec699
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/biccommands.cpp b/src/biccommands.cpp
index 2220dfe..6da886e 100644
--- a/src/biccommands.cpp
+++ b/src/biccommands.cpp
@@ -154,10 +154,9 @@
// netfn=0x38 and cmd=0x08 or 0x33 send the response back to the sender.
//----------------------------------------------------------------------
-ipmi::RspType<IanaType> ipmiOemPostCodeHandler(ipmi::Context::ptr ctx,
- IanaType reqIana,
- uint8_t dataLen,
- std::vector<uint8_t> data)
+ipmi::RspType<IanaType>
+ ipmiOemPostCodeHandler(ipmi::Context::ptr ctx, IanaType reqIana,
+ uint8_t dataLen, std::vector<uint8_t> data)
{
// creating bus connection
auto conn = getSdBus();
@@ -248,9 +247,8 @@
// send the response back to the sender.
//----------------------------------------------------------------------
-ipmi::RspType<IanaType> ipmiOemSetHostPowerState(ipmi::Context::ptr ctx,
- IanaType reqIana,
- uint8_t status)
+ipmi::RspType<IanaType> ipmiOemSetHostPowerState(
+ ipmi::Context::ptr ctx, IanaType reqIana, uint8_t status)
{
std::string targetUnit;
@@ -298,9 +296,8 @@
// netfn=0x38 and cmd=0x19 send the response back to the sender.
//----------------------------------------------------------------------
-ipmi::RspType<IanaType, flashSize>
- ipmiOemGetBiosFlashSize(ipmi::Context::ptr ctx, IanaType ianaReq,
- uint8_t target)
+ipmi::RspType<IanaType, flashSize> ipmiOemGetBiosFlashSize(
+ ipmi::Context::ptr ctx, IanaType ianaReq, uint8_t target)
{
if (iana != ianaReq)
{