summaryrefslogtreecommitdiffstats
path: root/benchmark/.clang-tidy
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-31 15:24:37 +0100
committerDavid Robillard <d@drobilla.net>2020-12-31 15:24:37 +0100
commitde27dcfe0bb72ef1ec937c4aaee26eef6ff7918e (patch)
treea6a6fbaa90416b6830c5b973f65dd254398691c2 /benchmark/.clang-tidy
parenta05ce4cb27bfcf2236b621ffccf6448c64c42e07 (diff)
downloadzix-de27dcfe0bb72ef1ec937c4aaee26eef6ff7918e.tar.gz
zix-de27dcfe0bb72ef1ec937c4aaee26eef6ff7918e.tar.bz2
zix-de27dcfe0bb72ef1ec937c4aaee26eef6ff7918e.zip
Add separate clang-tidy configuration for benchmarks
Diffstat (limited to 'benchmark/.clang-tidy')
-rw-r--r--benchmark/.clang-tidy22
1 files changed, 22 insertions, 0 deletions
diff --git a/benchmark/.clang-tidy b/benchmark/.clang-tidy
new file mode 100644
index 0000000..17625d5
--- /dev/null
+++ b/benchmark/.clang-tidy
@@ -0,0 +1,22 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-reserved-identifier,
+ -bugprone-suspicious-string-compare,
+ -cert-dcl37-c,
+ -cert-dcl51-cpp,
+ -cert-err34-c,
+ -cert-msc30-c,
+ -cert-msc32-c,
+ -cert-msc50-cpp,
+ -cert-msc51-cpp,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -cppcoreguidelines-init-variables,
+ -hicpp-multiway-paths-covered,
+ -llvm-header-guard,
+ -llvmlibc-*,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file