clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.
See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.
Change-Id: I65cb0501917fee37f007ed97ce973e0dd07170fa
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/async/context.cpp b/test/async/context.cpp
index 05db313..8cdd93c 100644
--- a/test/async/context.cpp
+++ b/test/async/context.cpp
@@ -72,8 +72,8 @@
{
struct _
{
- static auto one(size_t count,
- size_t& executed) -> sdbusplus::async::task<size_t>
+ static auto one(size_t count, size_t& executed)
+ -> sdbusplus::async::task<size_t>
{
if (count)
{
@@ -125,8 +125,8 @@
struct _
{
- static auto fn(decltype(m->next()) snd,
- bool& ran) -> sdbusplus::async::task<>
+ static auto fn(decltype(m->next()) snd, bool& ran)
+ -> sdbusplus::async::task<>
{
co_await std::move(snd);
ran = true;
diff --git a/test/async/fdio.cpp b/test/async/fdio.cpp
index 799c5d3..31cce27 100644
--- a/test/async/fdio.cpp
+++ b/test/async/fdio.cpp
@@ -50,8 +50,8 @@
co_return;
}
- auto testFdEvents(bool& ran,
- bool sleepBeforeWrite) -> sdbusplus::async::task<>
+ auto testFdEvents(bool& ran, bool sleepBeforeWrite)
+ -> sdbusplus::async::task<>
{
for (int i = 0; i < testIterations; i++)
{