From 14864d01399daa6b76e443b3ffddd90a6c5f678d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Mar 2022 18:42:45 -0500 Subject: fixup! WIP: Port to serd1 --- test/.clang-tidy | 5 +++++ test/lilv_test_uri_map.h | 1 - test/lilv_test_utils.c | 2 -- test/test_state.c | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/.clang-tidy b/test/.clang-tidy index a6f6844..ff80138 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -4,9 +4,11 @@ Checks: > -*-magic-numbers, -*-uppercase-literal-suffix, -*-vararg, + -altera-*, -android-cloexec-fopen, -bugprone-assert-side-effect, -bugprone-branch-clone, + -bugprone-easily-swappable-parameters, -bugprone-macro-parentheses, -bugprone-narrowing-conversions, -bugprone-not-null-terminated-result, @@ -18,6 +20,7 @@ Checks: > -cert-err34-c, -clang-analyzer-alpha.*, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -concurrency-mt-unsafe, -cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-macro-usage, -cppcoreguidelines-narrowing-conversions, @@ -36,7 +39,9 @@ Checks: > -misc-unused-parameters, -modernize-return-braced-init-list, -modernize-use-trailing-return-type, + -readability-function-cognitive-complexity, -readability-implicit-bool-conversion, + -readability-suspicious-call-argument, WarningsAsErrors: '*' HeaderFilterRegex: '.*' FormatStyle: file diff --git a/test/lilv_test_uri_map.h b/test/lilv_test_uri_map.h index e976381..292d57e 100644 --- a/test/lilv_test_uri_map.h +++ b/test/lilv_test_uri_map.h @@ -24,7 +24,6 @@ #include #include -#include #include #include diff --git a/test/lilv_test_utils.c b/test/lilv_test_utils.c index bb5622b..fa79165 100644 --- a/test/lilv_test_utils.c +++ b/test/lilv_test_utils.c @@ -25,8 +25,6 @@ #include "serd/serd.h" #include -#include -#include #include #include #include diff --git a/test/test_state.c b/test/test_state.c index 636d637..5515382 100644 --- a/test/test_state.c +++ b/test/test_state.c @@ -35,7 +35,6 @@ #endif #include -#include #include #include #include -- cgit v1.2.1