summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy5
1 files changed, 4 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 5b9d54d..b281245 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -4,6 +4,7 @@
Checks: >
*,
-*-else-after-return,
+ -*-macro-to-enum,
-*-magic-numbers,
-*-non-private-member-variables-in-classes,
-*-static-assert,
@@ -19,6 +20,7 @@ Checks: >
-bugprone-branch-clone,
-bugprone-copy-constructor-init,
-bugprone-easily-swappable-parameters,
+ -bugprone-multi-level-implicit-pointer-conversion,
-bugprone-narrowing-conversions,
-bugprone-reserved-identifier,
-bugprone-suspicious-include,
@@ -29,6 +31,7 @@ Checks: >
-cert-err33-c,
-cert-err34-c,
-clang-analyzer-core.uninitialized.ArraySubscript,
+ -clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-clang-analyzer-valist.Uninitialized,
-cppcoreguidelines-avoid-non-const-global-variables,
@@ -56,13 +59,13 @@ Checks: >
-misc-include-cleaner,
-misc-no-recursion,
-misc-unused-parameters,
- -modernize-macro-to-enum,
-modernize-return-braced-init-list,
-modernize-use-default-member-init,
-modernize-use-trailing-return-type,
-performance-faster-string-find,
-performance-noexcept-move-constructor,
-performance-unnecessary-value-param,
+ -readability-avoid-nested-conditional-operator,
-readability-const-return-type,
-readability-function-cognitive-complexity,
-readability-identifier-length,