summaryrefslogtreecommitdiffstats
path: root/test/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-16 16:57:28 +0100
committerDavid Robillard <d@drobilla.net>2020-12-16 16:57:28 +0100
commit61f1e603f6262f927373eac03c1599270d962247 (patch)
tree1c0e7e2ebd8763ee98ce04aeb41c7264bd58c7ae /test/.clang-tidy
parentb297e90c896d3cfe779b3d33d3f3c5f7221c9da8 (diff)
downloadlilv-61f1e603f6262f927373eac03c1599270d962247.tar.gz
lilv-61f1e603f6262f927373eac03c1599270d962247.tar.bz2
lilv-61f1e603f6262f927373eac03c1599270d962247.zip
Add separate clang-tidy configuration for tests
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r--test/.clang-tidy41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
new file mode 100644
index 0000000..87776ce
--- /dev/null
+++ b/test/.clang-tidy
@@ -0,0 +1,41 @@
+Checks: >
+ *,
+ -*-else-after-return,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -*-vararg,
+ -android-cloexec-fopen,
+ -bugprone-assert-side-effect,
+ -bugprone-branch-clone,
+ -bugprone-macro-parentheses,
+ -bugprone-narrowing-conversions,
+ -bugprone-not-null-terminated-result,
+ -bugprone-reserved-identifier,
+ -bugprone-suspicious-string-compare,
+ -cert-dcl37-c,
+ -cert-dcl50-cpp,
+ -cert-dcl51-cpp,
+ -cert-err34-c,
+ -clang-analyzer-alpha.*,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-macro-usage,
+ -cppcoreguidelines-narrowing-conversions,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -fuchsia-overloaded-operator,
+ -google-explicit-constructor,
+ -google-readability-todo,
+ -hicpp-explicit-conversions,
+ -hicpp-multiway-paths-covered,
+ -hicpp-no-array-decay,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -llvmlibc-*,
+ -misc-no-recursion,
+ -misc-non-private-member-variables-in-classes,
+ -misc-unused-parameters,
+ -modernize-return-braced-init-list,
+ -modernize-use-trailing-return-type,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file