summaryrefslogtreecommitdiffstats
path: root/include/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-12 01:43:47 +0100
committerDavid Robillard <d@drobilla.net>2020-11-12 01:47:44 +0100
commit0495c381d065713852ee9e61df544ba531223824 (patch)
tree636027d82ab20f9948d75b92b2e63711159cb875 /include/.clang-tidy
parentf8d95542492a8a960853c0cb0b855d2473c941a0 (diff)
downloadraul-0495c381d065713852ee9e61df544ba531223824.tar.gz
raul-0495c381d065713852ee9e61df544ba531223824.tar.bz2
raul-0495c381d065713852ee9e61df544ba531223824.zip
Use separate clang-tidy configurations for headers and tests
Diffstat (limited to 'include/.clang-tidy')
-rw-r--r--include/.clang-tidy28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/.clang-tidy b/include/.clang-tidy
new file mode 100644
index 0000000..3ed1d44
--- /dev/null
+++ b/include/.clang-tidy
@@ -0,0 +1,28 @@
+Checks: >
+ *,
+ -*-avoid-c-arrays,
+ -*-magic-numbers,
+ -*-no-malloc,
+ -*-special-member-functions,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-accept,
+ -bugprone-branch-clone,
+ -clang-diagnostic-unused-macros,
+ -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-calls,
+ -fuchsia-default-arguments-declarations,
+ -fuchsia-overloaded-operator,
+ -google-runtime-int,
+ -hicpp-no-array-decay,
+ -modernize-use-trailing-return-type,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file
+
+