chore: Enable clang-tidy misc checks (#6655)

This commit is contained in:
Alex Kremer
2026-03-31 18:29:45 +01:00
committed by GitHub
parent c3fae847f3
commit 2502befb42
469 changed files with 3915 additions and 3965 deletions

View File

@@ -155,7 +155,7 @@ public:
using namespace InnerObjectFormatsUnitTestDetail;
// Instantiate a jtx::Env so debugLog writes are exercised.
test::jtx::Env env(*this);
test::jtx::Env const env(*this);
for (auto const& test : testArray)
{
@@ -166,7 +166,7 @@ public:
Throw<std::runtime_error>(
"Internal InnerObjectFormatsParsedJSON error. Bad JSON.");
}
STParsedJSONObject parsed("request", req);
STParsedJSONObject const parsed("request", req);
bool const noObj = !parsed.object.has_value();
if (noObj == test.expectFail)
{