refactor: Enable more clang-tidy readability checks (#6595)

Co-authored-by: Sergey Kuznetsov <kuzzz99@gmail.com>
This commit is contained in:
Alex Kremer
2026-03-24 15:42:12 +00:00
committed by GitHub
parent 8b986e4ab0
commit 0eedefbf45
248 changed files with 948 additions and 935 deletions

View File

@@ -91,13 +91,13 @@ public:
struct TestHandler
{
bool
static bool
onAccept(Session& session, boost::asio::ip::tcp::endpoint endpoint)
{
return true;
}
Handoff
static Handoff
onHandoff(
Session& session,
std::unique_ptr<stream_type> const& bundle,
@@ -107,7 +107,7 @@ public:
return Handoff{};
}
Handoff
static Handoff
onHandoff(
Session& session,
http_request_type const& request,
@@ -116,7 +116,7 @@ public:
return Handoff{};
}
void
static void
onRequest(Session& session)
{
session.write(std::string("Hello, world!\n"));
@@ -303,13 +303,13 @@ public:
testcase("stress test");
struct NullHandler
{
bool
static bool
onAccept(Session& session, boost::asio::ip::tcp::endpoint endpoint)
{
return true;
}
Handoff
static Handoff
onHandoff(
Session& session,
std::unique_ptr<stream_type> const& bundle,
@@ -319,7 +319,7 @@ public:
return Handoff{};
}
Handoff
static Handoff
onHandoff(
Session& session,
http_request_type const& request,