diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-04 19:27:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-10 10:31:57 +0200 |
commit | cf30a29a8208fee7aac7e4a725fde197c16b6ce7 (patch) | |
tree | 81f5a27242969e3f9dd7f292caba304ff1d7dd02 | |
parent | c3189cc4f211eef6694f900385ae91c6f998b4d7 (diff) |
update .clang-tidy
-rw-r--r-- | .clang-tidy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index e4aba602..eff97806 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -9,8 +9,11 @@ Checks: ' -llvmlibc-*, -objc-*, -bugprone-easily-swappable-parameters, +bugprone-exception-escape, +-bugprone-implicit-widening-of-multiplication-result, -bugprone-narrowing-conversions, -cert-*, +llvm-namespace-comment, clang-analyzer-core.CallAndMessage, clang-analyzer-deadcode.DeadStores, -clang-diagnostic-nonportable-include-path, @@ -69,6 +72,7 @@ modernize-use-equals-default, -performance-no-int-to-ptr, -readability-braces-around-statements, -readability-else-after-return, +readability-function-cognitive-complexity, -readability-identifier-length, -readability-implicit-bool-conversion, -readability-inconsistent-declaration-parameter-name, @@ -76,6 +80,7 @@ modernize-use-equals-default, -readability-magic-numbers, -readability-named-parameter, -readability-redundant-access-specifiers, +-readability-simplify-boolean-expr, -readability-static-accessed-through-instance, -readability-uppercase-literal-suffix, ' @@ -103,5 +108,7 @@ CheckOptions: value: '90' - key: readability-function-size.VariableThreshold value: '10' + - key: readability-function-cognitive-complexity.IgnoreMacros + value: '1' # vim: ft=yaml |