Fix clang-tidy 18.1.8 issues (#3800)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2025-09-12 14:35:44 +00:00
committed by GitHub
parent 77b4756454
commit ed1f4b3269
77 changed files with 359 additions and 206 deletions

View File

@@ -33,9 +33,9 @@ public:
} else {
Log::record(severity, event, code, msg, {});
}
} catch (...) {
// ignore exceptions during logging
// What would we do, log them?
} catch (...) { // NOLINT(bugprone-empty-catch)
// ignore exceptions during logging
// What would we do, log them?
#if !defined(NDEBUG)
[[maybe_unused]] auto ex = std::current_exception();
assert(!"unhandled exception while logging");