summaryrefslogtreecommitdiffstats
path: root/test/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to 'test/.clang-tidy')
-rw-r--r--test/.clang-tidy31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/.clang-tidy b/test/.clang-tidy
new file mode 100644
index 0000000..57fec1f
--- /dev/null
+++ b/test/.clang-tidy
@@ -0,0 +1,31 @@
+Checks: >
+ *,
+ -*-avoid-c-arrays,
+ -*-magic-numbers,
+ -*-special-member-functions,
+ -*-uppercase-literal-suffix,
+ -*-vararg,
+ -android-cloexec-accept,
+ -bugprone-branch-clone,
+ -cppcoreguidelines-no-malloc,
+ -cppcoreguidelines-owning-memory,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-const-cast,
+ -cppcoreguidelines-pro-type-reinterpret-cast,
+ -fuchsia-default-arguments-*,
+ -fuchsia-overloaded-operator,
+ -google-runtime-int,
+ -google-runtime-references,
+ -hicpp-no-array-decay,
+ -hicpp-no-malloc,
+ -hicpp-signed-bitwise,
+ -modernize-make-unique,
+ -modernize-use-trailing-return-type,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file
+
+