summaryrefslogtreecommitdiffstats
path: root/etc/clang-tidy/config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/clang-tidy/config.yaml')
-rw-r--r--etc/clang-tidy/config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/clang-tidy/config.yaml b/etc/clang-tidy/config.yaml
index c9bcbae..d910b14 100644
--- a/etc/clang-tidy/config.yaml
+++ b/etc/clang-tidy/config.yaml
@@ -11,33 +11,46 @@ Checks: >
-android-cloexec-pipe,
-bugprone-easily-swappable-parameters,
-bugprone-implicit-widening-of-multiplication-result,
+ -bugprone-macro-parentheses,
-bugprone-reserved-identifier,
+ -cert-dcl16-c,
-cert-dcl37-c,
-cert-dcl51-cpp,
-cert-env33-c,
-cert-err33-c,
-cert-err34-c,
-cert-msc30-c,
+ -cert-msc32-c,
-cert-msc50-cpp,
+ -cert-msc51-cpp,
+ -clang-analyzer-optin.portability.UnixAPI,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
+ -clang-analyzer-security.insecureAPI.strcpy,
+ -clang-analyzer-unix.Malloc,
+ -clang-diagnostic-c2x-extensions,
-concurrency-mt-unsafe,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-init-variables,
-google-readability-braces-around-statements,
-hicpp-braces-around-statements,
-hicpp-no-assembler,
+ -hicpp-uppercase-literal-suffix,
-llvmlibc-restrict-system-libc-headers,
-misc-no-recursion,
+ -modernize-macro-to-enum,
-readability-braces-around-statements,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-isolate-declaration,
+ -readability-uppercase-literal-suffix,
WarningsAsErrors: >
*,
-altera-struct-pack-align,
-bugprone-narrowing-conversions,
+ -clang-diagnostic-declaration-after-statement,
-clang-diagnostic-format,
+ -clang-diagnostic-format-invalid-specifier,
-clang-diagnostic-sign-compare,
-clang-diagnostic-uninitialized,
-clang-diagnostic-unused-parameter,