aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker/clang-tidy-checks
diff options
context:
space:
mode:
Diffstat (limited to '.woodpecker/clang-tidy-checks')
-rw-r--r--.woodpecker/clang-tidy-checks16
1 files changed, 16 insertions, 0 deletions
diff --git a/.woodpecker/clang-tidy-checks b/.woodpecker/clang-tidy-checks
new file mode 100644
index 0000000..67394d4
--- /dev/null
+++ b/.woodpecker/clang-tidy-checks
@@ -0,0 +1,16 @@
+# checks
+clang-analyzer-*,clang-diagnostic-*,bugprone-*,performance-*,modernize-*
+misc-*,readability-*,android-cloexec-*,cert-*
+
+# silence
+-misc-unused-parameters
+-bugprone-easily-swappable-parameters,-bugprone-narrowing-conversions,-bugprone-incorrect-roundings
+-bugprone-implicit-widening-of-multiplication-result,-bugprone-integer-division
+-readability-braces-around-statements,-readability-magic-numbers,-readability-isolate-declaration
+-readability-function-cognitive-complexity,-readability-else-after-return
+-readability-uppercase-literal-suffix,-readability-avoid-const-params-in-decls
+-android-cloexec-fopen,-android-cloexec-pipe
+
+# false positive warnings
+-clang-analyzer-valist.Uninitialized
+-misc-no-recursion