Add clang-tidy reviews to CI (#1407)

This commit is contained in:
slaren
2023-05-12 15:40:53 +02:00
committed by GitHub
parent 089b1c93ba
commit 553fd4d4b5
3 changed files with 61 additions and 0 deletions

18
.clang-tidy Normal file
View File

@ -0,0 +1,18 @@
---
Checks: >
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-narrowing-conversions,
readability-*,
-readability-avoid-unconditional-preprocessor-if,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-uppercase-literal-suffix,
clang-analyzer-*,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
performance-*,
portability-*,
FormatStyle: none