aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-09-15 22:08:52 -0400
committerDavid Robillard <d@drobilla.net>2022-09-16 22:31:06 -0400
commitdcd6280af88f74024e5a690bb4483dce43a61a1f (patch)
treee75927c20b3ab4510adebc6f693aea0368960161 /.clang-tidy
parent9788441819dcc524285a88febb7da62006d72b53 (diff)
downloadchilbert-dcd6280af88f74024e5a690bb4483dce43a61a1f.tar.gz
chilbert-dcd6280af88f74024e5a690bb4483dce43a61a1f.tar.bz2
chilbert-dcd6280af88f74024e5a690bb4483dce43a61a1f.zip
Add clang-tidy configuration
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy43
1 files changed, 43 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..ad6ec5b
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,43 @@
+Checks: >
+ *,
+ -*-avoid-c-arrays,
+ -*-else-after-return,
+ -*-magic-numbers,
+ -*-member-init,
+ -*-move-const-arg,
+ -*-named-parameter,
+ -*-no-malloc,
+ -*-non-private-member-variables-in-classes,
+ -*-special-member-functions,
+ -*-use-auto,
+ -altera-*,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-move-forwarding-reference,
+ -cert-oop54-cpp,
+ -cppcoreguidelines-init-variables,
+ -cppcoreguidelines-owning-memory,
+ -cppcoreguidelines-pro-bounds-constant-array-index,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-slicing,
+ -fuchsia-default-arguments-calls,
+ -fuchsia-default-arguments-declarations,
+ -fuchsia-overloaded-operator,
+ -google-explicit-constructor,
+ -google-readability-casting,
+ -google-runtime-int,
+ -google-runtime-references,
+ -hicpp-explicit-conversions,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -llvmlibc-*,
+ -misc-definitions-in-headers,
+ -modernize-return-braced-init-list,
+ -modernize-use-bool-literals,
+ -modernize-use-trailing-return-type,
+ -readability-avoid-const-params-in-decls,
+ -readability-convert-member-functions-to-static,
+ -readability-identifier-length,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file