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/handler.cpp b/handler.cpp
index 8786e29..2483aec 100644
--- a/handler.cpp
+++ b/handler.cpp
@@ -207,10 +207,10 @@
     // If value parses as expected, return version.
     VersionTuple version = std::make_tuple(0, 0, 0, 0);
 
-    int num_fields = std::sscanf(value.c_str(),
-                                 "%" SCNu8 ".%" SCNu8 ".%" SCNu8 ".%" SCNu8,
-                                 &std::get<0>(version), &std::get<1>(version),
-                                 &std::get<2>(version), &std::get<3>(version));
+    int num_fields =
+        std::sscanf(value.c_str(), "%" SCNu8 ".%" SCNu8 ".%" SCNu8 ".%" SCNu8,
+                    &std::get<0>(version), &std::get<1>(version),
+                    &std::get<2>(version), &std::get<3>(version));
     if (num_fields == 0)
     {
         stdplus::print(stderr, "Invalid version.\n");
@@ -725,10 +725,10 @@
         std::format("{}{}", ACCEL_POWER_PATH_PREFIX, chip_id));
 
     std::variant<int> val = vrSettingsReq;
-    ctx->bus->yield_method_call(ctx->yield, ec, ACCEL_POWER_SERVICE,
-                                object_name.c_str(),
-                                "org.freedesktop.DBus.Properties", "Set",
-                                POWER_MODE_IFC, "PowerMode", val);
+    ctx->bus->yield_method_call(
+        ctx->yield, ec, ACCEL_POWER_SERVICE, object_name.c_str(),
+        "org.freedesktop.DBus.Properties", "Set", POWER_MODE_IFC, "PowerMode",
+        val);
     if (ec)
     {
         log<level::ERR>("Failed to set PowerMode property");
@@ -747,9 +747,9 @@
 {
     Value value;
     boost::system::error_code ec;
-    std::string object_name(std::format("{}{}{}", EXTERNAL_SENSOR_PATH_PREFIX,
-                                        _vrSettingsMap.at(settings_id),
-                                        chip_id));
+    std::string object_name(
+        std::format("{}{}{}", EXTERNAL_SENSOR_PATH_PREFIX,
+                    _vrSettingsMap.at(settings_id), chip_id));
 
     if (_vrSettingsMap.find(settings_id) == _vrSettingsMap.end())
     {