aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-02-24 19:28:11 +0100
committerDavid Robillard <d@drobilla.net>2019-12-20 10:26:55 -0500
commit2bc1126e3e6310464adc8e5aea04f15fb4c72341 (patch)
tree811654a07dab4a5c3ff9ba16c6e431481d2814da /.clang-tidy
parent831ebad3855c21d03a96cab1b887958ffca6267a (diff)
downloadserd-2bc1126e3e6310464adc8e5aea04f15fb4c72341.tar.gz
serd-2bc1126e3e6310464adc8e5aea04f15fb4c72341.tar.bz2
serd-2bc1126e3e6310464adc8e5aea04f15fb4c72341.zip
Add clang-tidy file
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy32
1 files changed, 32 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 00000000..da32b49e
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,32 @@
+Checks: >
+ *,
+ -*magic-numbers,
+ -*uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-branch-clone,
+ -bugprone-misplaced-widening-cast,
+ -bugprone-suspicious-string-compare,
+ -cert-dcl50-cpp,
+ -cert-msc30-c,
+ -cert-msc50-cpp,
+ -clang-analyzer-alpha.*,
+ -cppcoreguidelines-pro-bounds-array-to-pointer-decay,
+ -cppcoreguidelines-pro-bounds-pointer-arithmetic,
+ -cppcoreguidelines-pro-type-reinterpret-cast,
+ -fuchsia-default-arguments,
+ -fuchsia-overloaded-operator,
+ -google-explicit-constructor,
+ -google-readability-todo,
+ -google-runtime-references,
+ -hicpp-invalid-access-moved,
+ -hicpp-multiway-paths-covered,
+ -hicpp-no-array-decay,
+ -hicpp-signed-bitwise,
+ -hicpp-vararg,
+ -llvm-header-guard,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+ -readability-named-parameter,
+WarningsAsErrors: ''
+HeaderFilterRegex: '.*'
+FormatStyle: file