diff options
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy index 8e76892ec5a..10738f574d6 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -15,9 +15,10 @@ Checks: > -readability-misleading-indentation, - -readability-redundant-member-init, -readability-use-anyofallof, + -readability-function-cognitive-complexity, + bugprone-*, -bugprone-narrowing-conversions, -bugprone-unhandled-self-assignment, @@ -28,4 +29,23 @@ Checks: > -bugprone-sizeof-expression, -bugprone-integer-division, + -bugprone-exception-escape, + -bugprone-redundant-branch-condition, + + modernize-*, + -modernize-use-auto, + -modernize-use-trailing-return-type, + -modernize-deprecated-headers, + -modernize-avoid-c-arrays, + -modernize-use-equals-default, + -modernize-use-nodiscard, + -modernize-use-using, + -modernize-loop-convert, + -modernize-pass-by-value, + -modernize-use-default-member-init, + -modernize-raw-string-literal, + -modernize-avoid-bind, + -modernize-use-override, + -modernize-use-transparent-functors, + WarningsAsErrors: '*' |