aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-06-21 17:38:15 +0200
committerDavid Robillard <d@drobilla.net>2020-06-21 18:06:29 +0200
commita5ecaed57d31f68f0648464d99864b4cf0bdefac (patch)
tree3b350923ca9b76fff1c6784bd9158140a559c799 /.clang-tidy
parent4c596b02693f742a754b092285833b89036f172e (diff)
downloadserd-a5ecaed57d31f68f0648464d99864b4cf0bdefac.tar.gz
serd-a5ecaed57d31f68f0648464d99864b4cf0bdefac.tar.bz2
serd-a5ecaed57d31f68f0648464d99864b4cf0bdefac.zip
Strengthen lint target
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy19
1 files changed, 19 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
new file mode 100644
index 00000000..93269b93
--- /dev/null
+++ b/.clang-tidy
@@ -0,0 +1,19 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-branch-clone,
+ -bugprone-suspicious-string-compare,
+ -cert-msc30-c,
+ -cert-msc50-cpp,
+ -clang-analyzer-alpha.*,
+ -clang-analyzer-valist.Uninitialized,
+ -google-readability-todo,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -readability-else-after-return,
+ -readability-implicit-bool-conversion,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file