summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-01 20:46:54 +0100
committerDavid Robillard <d@drobilla.net>2021-01-01 20:46:54 +0100
commitbf23f48fe4ccf519bde3ea30bf3faa753b236c74 (patch)
treee7b100cad7dae75188e8113791c5672a282766ef /tests
parent165003b95020387d5df953df7a2844548739e752 (diff)
downloadsratom-bf23f48fe4ccf519bde3ea30bf3faa753b236c74.tar.gz
sratom-bf23f48fe4ccf519bde3ea30bf3faa753b236c74.tar.bz2
sratom-bf23f48fe4ccf519bde3ea30bf3faa753b236c74.zip
Use separate clang-tidy configurations for headers and tests
Diffstat (limited to 'tests')
-rw-r--r--tests/.clang-tidy12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/.clang-tidy b/tests/.clang-tidy
new file mode 100644
index 0000000..0b8f64b
--- /dev/null
+++ b/tests/.clang-tidy
@@ -0,0 +1,12 @@
+Checks: >
+ *,
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -bugprone-suspicious-string-compare,
+ -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -hicpp-signed-bitwise,
+ -llvm-header-guard,
+ -llvmlibc-*,
+WarningsAsErrors: '*'
+HeaderFilterRegex: '.*'
+FormatStyle: file