Addressing clang-tidy findings

This commit is contained in:
Dan Paulat 2025-08-24 22:28:38 -05:00
parent 193f42318c
commit 072865d2e5
5 changed files with 24 additions and 14 deletions

View file

@ -8,9 +8,13 @@ Checks:
- 'performance-*'
- '-bugprone-easily-swappable-parameters'
- '-cppcoreguidelines-avoid-magic-numbers'
- '-cppcoreguidelines-avoid-do-while'
- '-cppcoreguidelines-avoid-non-const-global-variables'
- '-cppcoreguidelines-pro-type-reinterpret-cast'
- '-cppcoreguidelines-pro-type-union-access'
- '-misc-include-cleaner'
- '-misc-non-private-member-variables-in-classes'
- '-misc-use-anonymous-namespace'
- '-modernize-return-braced-init-list'
- '-modernize-use-trailing-return-type'
FormatStyle: 'file'

View file

@ -2,9 +2,7 @@
#include <gtest/gtest.h>
namespace scwx
{
namespace network
namespace scwx::network
{
TEST(NtpClient, Poll)
@ -31,5 +29,4 @@ TEST(NtpClient, Poll)
!error);
}
} // namespace network
} // namespace scwx
} // namespace scwx::network