diff options
author | NRK <nrk@disroot.org> | 2022-06-15 11:55:16 +0600 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2022-06-25 08:27:01 +0200 |
commit | f23d57d4ada2dbab52e26073d462ebee57cf53a9 (patch) | |
tree | f22fde4580fba7aac52d3fafecda0130b66dcb35 /.woodpecker/clang-tidy-checks | |
parent | 658a935c04ba6dd1bfb370ad0e209046dd90402f (diff) |
[ci]: use cppcheck and clang-tidy for static analysis
Diffstat (limited to '.woodpecker/clang-tidy-checks')
-rw-r--r-- | .woodpecker/clang-tidy-checks | 16 |
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 |