🚨 suppress Clang-Tidy warnings
This commit is contained in:
parent
acbffd05a4
commit
b4ce4a962b
@ -4,6 +4,7 @@ Checks: '*,
|
||||
-altera-unroll-loops,
|
||||
-android-cloexec-fopen,
|
||||
-bugprone-easily-swappable-parameters,
|
||||
-cert-err58-cpp,
|
||||
-concurrency-mt-unsafe,
|
||||
-cppcoreguidelines-avoid-goto,
|
||||
-cppcoreguidelines-avoid-magic-numbers,
|
||||
|
||||
@ -49,7 +49,7 @@ struct bad_allocator : std::allocator<T>
|
||||
};
|
||||
} // namespace
|
||||
|
||||
TEST_CASE("bad_alloc") // NOLINT(cert-err58-cpp)
|
||||
TEST_CASE("bad_alloc")
|
||||
{
|
||||
SECTION("bad_alloc")
|
||||
{
|
||||
@ -132,7 +132,7 @@ void my_allocator_clean_up(T* p)
|
||||
}
|
||||
} // namespace
|
||||
|
||||
TEST_CASE("controlled bad_alloc") // NOLINT(cert-err58-cpp)
|
||||
TEST_CASE("controlled bad_alloc")
|
||||
{
|
||||
// create JSON type using the throwing allocator
|
||||
using my_json = nlohmann::basic_json<std::map,
|
||||
@ -255,7 +255,7 @@ struct allocator_no_forward : std::allocator<T>
|
||||
};
|
||||
} // namespace
|
||||
|
||||
TEST_CASE("bad my_allocator::construct") // NOLINT(cert-err58-cpp)
|
||||
TEST_CASE("bad my_allocator::construct")
|
||||
{
|
||||
SECTION("my_allocator::construct doesn't forward")
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user