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: Id2036ab746164981596b3ee36259f3ca5d3f1334
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/bridgingcommands.cpp b/src/bridgingcommands.cpp
index eb6d903..465659f 100644
--- a/src/bridgingcommands.cpp
+++ b/src/bridgingcommands.cpp
@@ -98,8 +98,8 @@
                                 ipmbConnectionHeaderLength);
 }
 
-static inline bool ipmbDataChecksumValidate(const ipmbHeader* ipmbHeader,
-                                            size_t length)
+static inline bool
+    ipmbDataChecksumValidate(const ipmbHeader* ipmbHeader, size_t length)
 {
     return ipmbChecksumValidate((reinterpret_cast<const uint8_t*>(ipmbHeader) +
                                  ipmbConnectionHeaderLength),
@@ -136,9 +136,9 @@
     rqLun = ipmbLunFromSeqLunGet(ipmbBuffer->Header.Req.rqSeqLUN);
     cmd = ipmbBuffer->Header.Req.cmd;
 
-    size_t dataLength = bufferLength -
-                        (ipmbConnectionHeaderLength +
-                         ipmbRequestDataHeaderLength + ipmbChecksumSize);
+    size_t dataLength =
+        bufferLength - (ipmbConnectionHeaderLength +
+                        ipmbRequestDataHeaderLength + ipmbChecksumSize);
 
     if (dataLength > 0)
     {
@@ -151,9 +151,8 @@
                            uint8_t rsSA, uint8_t seq, uint8_t rsLun,
                            uint8_t cmd, uint8_t completionCode,
                            std::vector<uint8_t>& inputData) :
-    address(address),
-    netFn(netFn), rqLun(rqLun), rsSA(rsSA), seq(seq), rsLun(rsLun), cmd(cmd),
-    completionCode(completionCode)
+    address(address), netFn(netFn), rqLun(rqLun), rsSA(rsSA), seq(seq),
+    rsLun(rsLun), cmd(cmd), completionCode(completionCode)
 {
     data.reserve(ipmbMaxDataSize);
 
@@ -240,10 +239,9 @@
     }
 }
 
-ipmi::Cc Bridging::handleIpmbChannel(ipmi::Context::ptr& ctx,
-                                     const uint8_t tracking,
-                                     const std::vector<uint8_t>& msgData,
-                                     std::vector<uint8_t>& rspData)
+ipmi::Cc Bridging::handleIpmbChannel(
+    ipmi::Context::ptr& ctx, const uint8_t tracking,
+    const std::vector<uint8_t>& msgData, std::vector<uint8_t>& rspData)
 {
     ipmi::Manufacturing mtm;
 
@@ -323,9 +321,9 @@
 
     std::tie(status, netFn, lun, cmd, cc, dataReceived) = ipmbResponse;
 
-    auto respReceived = IpmbResponse(ipmbRequest.rqSA, netFn, lun,
-                                     ipmbRequest.address, ipmbRequest.seq, lun,
-                                     cmd, cc, dataReceived);
+    auto respReceived =
+        IpmbResponse(ipmbRequest.rqSA, netFn, lun, ipmbRequest.address,
+                     ipmbRequest.seq, lun, cmd, cc, dataReceived);
 
     // check IPMB layer status
     if (status)
@@ -614,12 +612,10 @@
 
  *  @return IPMI completion code on success
  */
-ipmi::RspType<> ipmiAppClearMessageFlags(ipmi::Context::ptr& ctx,
-                                         bool receiveMessage,
-                                         bool eventMsgBufFull, bool reserved2,
-                                         bool watchdogTimeout, bool reserved1,
-                                         bool /* oem0 */, bool /* oem1 */,
-                                         bool /* oem2 */)
+ipmi::RspType<> ipmiAppClearMessageFlags(
+    ipmi::Context::ptr& ctx, bool receiveMessage, bool eventMsgBufFull,
+    bool reserved2, bool watchdogTimeout, bool reserved1, bool /* oem0 */,
+    bool /* oem1 */, bool /* oem2 */)
 {
     ipmi::ChannelInfo chInfo;