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: I917f3a65c985f3df3bb4d7a1bef0a13da54ab7bd
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/vpd-manager/gpioMonitor.hpp b/vpd-manager/gpioMonitor.hpp
index 790373b..5f34336 100644
--- a/vpd-manager/gpioMonitor.hpp
+++ b/vpd-manager/gpioMonitor.hpp
@@ -31,10 +31,9 @@
Byte& outValue, std::string& devAddr, std::string& driver,
std::string& bus, std::string& objPath,
std::shared_ptr<boost::asio::io_context>& ioCon) :
- presencePin(presPin),
- presenceValue(presValue), outputPin(outPin), outputValue(outValue),
- devNameAddr(devAddr), driverType(driver), busType(bus),
- objectPath(objPath)
+ presencePin(presPin), presenceValue(presValue), outputPin(outPin),
+ outputValue(outValue), devNameAddr(devAddr), driverType(driver),
+ busType(bus), objectPath(objPath)
{
doEventAndTimerSetup(ioCon);
}
@@ -120,8 +119,7 @@
GpioMonitor& operator=(GpioMonitor&&) = delete;
GpioMonitor(nlohmann::json& js,
- std::shared_ptr<boost::asio::io_context>& ioCon) :
- jsonFile(js)
+ std::shared_ptr<boost::asio::io_context>& ioCon) : jsonFile(js)
{
initGpioInfos(ioCon);
}