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: I9bb0aaa05541fe88ccabfaa5d00e3117e489ea8d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/mslverify/util.hpp b/mslverify/util.hpp
index 4c1ea00..1c1ee41 100644
--- a/mslverify/util.hpp
+++ b/mslverify/util.hpp
@@ -79,10 +79,9 @@
/** @brief Invoke a method and read the response. */
template <typename Ret, typename... Args>
-static auto callMethodAndRead(const std::string& busName,
- const std::string& path,
- const std::string& interface,
- const std::string& method, Args&&... args)
+static auto callMethodAndRead(
+ const std::string& busName, const std::string& path,
+ const std::string& interface, const std::string& method, Args&&... args)
{
return callMethodAndRead<Ret>(getBus(), busName, path, interface, method,
std::forward<Args>(args)...);
@@ -118,9 +117,9 @@
{
using namespace std::literals::string_literals;
- auto msg = callMethod(bus, busName, path,
- "org.freedesktop.DBus.Properties"s, "Get"s, interface,
- property);
+ auto msg =
+ callMethod(bus, busName, path, "org.freedesktop.DBus.Properties"s,
+ "Get"s, interface, property);
::std::variant<Property> value;
msg.read(value);
return std::get<Property>(value);