[build] Upgrade to wpiformat 2024.33 (#6449)

This upgrades to clang-format and clang-tidy 18.1.1. This has the
constructor attribute formatting fix, so we can remove our
WPI_DEPRECATED macro.
This commit is contained in:
Tyler Veness
2024-03-18 23:11:20 -07:00
committed by GitHub
parent b4674bacb9
commit 5370f249a1
43 changed files with 135 additions and 132 deletions

View File

@@ -42,8 +42,7 @@ TEST(UvGetAddrInfoTest, BothNull) {
fail_cb_called++;
});
GetAddrInfo(
loop, [](const addrinfo&) { FAIL(); }, "");
GetAddrInfo(loop, [](const addrinfo&) { FAIL(); }, "");
loop->Run();
ASSERT_EQ(fail_cb_called, 1);
}
@@ -59,8 +58,7 @@ TEST(UvGetAddrInfoTest, FailedLookup) {
});
// Use a FQDN by ending in a period
GetAddrInfo(
loop, [](const addrinfo&) { FAIL(); }, "xyzzy.xyzzy.xyzzy.");
GetAddrInfo(loop, [](const addrinfo&) { FAIL(); }, "xyzzy.xyzzy.xyzzy.");
loop->Run();
ASSERT_EQ(fail_cb_called, 1);
}
@@ -71,8 +69,7 @@ TEST(UvGetAddrInfoTest, Basic) {
auto loop = Loop::Create();
loop->error.connect([](Error) { FAIL(); });
GetAddrInfo(
loop, [&](const addrinfo&) { getaddrinfo_cbs++; }, "localhost");
GetAddrInfo(loop, [&](const addrinfo&) { getaddrinfo_cbs++; }, "localhost");
loop->Run();