summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-15 17:59:30 +0200
committerDavid Robillard <d@drobilla.net>2020-07-16 23:37:49 +0200
commit1c2b44a90b8e6ae3ffbea6a0707798c1f4540236 (patch)
treec23b03262f2d8f713add3e652aacfe6b4b899c4b /.clang-tidy
parentfc9799a9e448b40d0fad95653ce58e4e72a7191a (diff)
downloadlilv-1c2b44a90b8e6ae3ffbea6a0707798c1f4540236.tar.gz
lilv-1c2b44a90b8e6ae3ffbea6a0707798c1f4540236.tar.bz2
lilv-1c2b44a90b8e6ae3ffbea6a0707798c1f4540236.zip
Add a more powerful lint target
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy23
1 files changed, 23 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 0000000..8c3450d
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,23 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-branch-clone,
+ -bugprone-macro-parentheses,
+ -bugprone-narrowing-conversions,
+ -bugprone-not-null-terminated-result,
+ -bugprone-suspicious-string-compare,
+ -cert-err34-c,
+ -clang-analyzer-alpha.*,
+ -cppcoreguidelines-narrowing-conversions,
+ -google-readability-todo,
+ -hicpp-multiway-paths-covered,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -misc-unused-parameters,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file