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: I8c81e5e5b6bd1ec4bdd52aa9039ef1c4bbef088d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/pcie_i2c.cpp b/pcie_i2c.cpp
index 0f95992..0a59738 100644
--- a/pcie_i2c.cpp
+++ b/pcie_i2c.cpp
@@ -97,8 +97,8 @@
}
std::vector<std::uint8_t> reply;
- reply.reserve(pcie_slot_name.length() +
- sizeof(struct PcieSlotI2cBusMappingReply));
+ reply.reserve(
+ pcie_slot_name.length() + sizeof(struct PcieSlotI2cBusMappingReply));
// Copy the i2c bus number and the pcie slot name to the reply struct.
reply.emplace_back(i2c_bus_number); /* i2c_bus_number */
reply.emplace_back(pcie_slot_name.length()); /* pcie_slot_name length */