diff options
-rw-r--r-- | .clang-tidy | 5 | ||||
-rw-r--r-- | src/.clang-tidy | 2 | ||||
-rw-r--r-- | test/.clang-tidy | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/.clang-tidy b/.clang-tidy index eaf6ac95..8a56f512 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -6,6 +6,7 @@ Checks: > -altera-*, -llvmlibc-*, -readability-identifier-length, -WarningsAsErrors: '*' -HeaderFilterRegex: '.*' + -clang-diagnostic-unused-macros, FormatStyle: file +HeaderFilterRegex: '.*/serd/.*\.h' +WarningsAsErrors: '*' diff --git a/src/.clang-tidy b/src/.clang-tidy index 331ec702..8f408ddc 100644 --- a/src/.clang-tidy +++ b/src/.clang-tidy @@ -6,6 +6,8 @@ Checks: > -bugprone-easily-swappable-parameters, -cert-err33-c, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, + -clang-analyzer-valist.Uninitialized, + -clang-diagnostic-unused-function, -concurrency-mt-unsafe, -google-readability-todo, -hicpp-multiway-paths-covered, diff --git a/test/.clang-tidy b/test/.clang-tidy index 4450bf3b..9710cb77 100644 --- a/test/.clang-tidy +++ b/test/.clang-tidy @@ -6,11 +6,9 @@ Checks: > -android-cloexec-fopen, -bugprone-easily-swappable-parameters, -cert-err33-c, - -clang-analyzer-nullability.NullabilityBase, -clang-analyzer-nullability.NullableDereferenced, -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling, -concurrency-mt-unsafe, - -cppcoreguidelines-avoid-non-const-global-variables, -hicpp-signed-bitwise, -readability-function-cognitive-complexity, InheritParentConfig: true |