summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-10 13:41:44 -0500
committerDavid Robillard <d@drobilla.net>2022-12-10 18:02:56 -0500
commite0281d51ab8c6ca05a8b467901e5bd96d829bb56 (patch)
treef1915fe372ba17a7b201e7750203e98336cf0a6a /tools
parent7b0ad2cd8cecd78967405046bef89a8b0c836b19 (diff)
downloadlilv-e0281d51ab8c6ca05a8b467901e5bd96d829bb56.tar.gz
lilv-e0281d51ab8c6ca05a8b467901e5bd96d829bb56.tar.bz2
lilv-e0281d51ab8c6ca05a8b467901e5bd96d829bb56.zip
Strengthen clang-tidy configuration
Diffstat (limited to 'tools')
-rw-r--r--tools/.clang-tidy18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/.clang-tidy b/tools/.clang-tidy
new file mode 100644
index 0000000..c642a20
--- /dev/null
+++ b/tools/.clang-tidy
@@ -0,0 +1,18 @@
+# Copyright 2020-2022 David Robillard <d@drobilla.net>
+# SPDX-License-Identifier: 0BSD OR ISC
+
+Checks: >
+ -*-magic-numbers,
+ -*-uppercase-literal-suffix,
+ -android-cloexec-fopen,
+ -bugprone-easily-swappable-parameters,
+ -bugprone-narrowing-conversions,
+ -cert-err33-c,
+ -cert-err34-c,
+ -cppcoreguidelines-avoid-non-const-global-variables,
+ -cppcoreguidelines-narrowing-conversions,
+ -hicpp-signed-bitwise,
+ -misc-no-recursion,
+ -readability-function-cognitive-complexity,
+ -readability-identifier-length,
+InheritParentConfig: true