summaryrefslogtreecommitdiffstats
path: root/test/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-31 14:55:46 +0100
committerDavid Robillard <d@drobilla.net>2020-12-31 15:06:39 +0100
commit5ca5c874e2409b32fbdc4b46a1ba3b5a9200542f (patch)
treeffdb0adac172e6100b1531121dd51a49f57fa5d4 /test/.clang-tidy
parentf11fb40b4cd4017eebc534c42a9e10a2622d3f58 (diff)
downloadzix-5ca5c874e2409b32fbdc4b46a1ba3b5a9200542f.tar.gz
zix-5ca5c874e2409b32fbdc4b46a1ba3b5a9200542f.tar.bz2
zix-5ca5c874e2409b32fbdc4b46a1ba3b5a9200542f.zip
Add separate clang-tidy configuration for tests
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r--test/.clang-tidy25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
new file mode 100644
index 0000000..aa81243
--- /dev/null
+++ b/test/.clang-tidy
@@ -0,0 +1,25 @@
+Checks: >
+ *,
+ -*-else-after-return,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-reserved-identifier,
+ -bugprone-suspicious-include,
+ -bugprone-suspicious-string-compare,
+ -cert-dcl37-c,
+ -cert-dcl51-cpp,
+ -cert-err34-c,
+ -cert-msc30-c,
+ -cert-msc50-cpp,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-init-variables,
+ -google-readability-casting,
+ -hicpp-multiway-paths-covered,
+ -llvm-header-guard,
+ -llvmlibc-*,
+ -misc-no-recursion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file