diff options
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/.clang-tidy b/.clang-tidy index d056b2ed..777b8851 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,23 +1,32 @@ Checks: ' -*,readability-*,misc-*,hicpp-*,cert-*,modernize-*,clang-analyzer-*, - -readability-named-parameter, - -cert-dcl54-cpp,-hicpp-new-delete-operators, - -hicpp-special-member-functions, - -hicpp-braces-around-statements, - -readability-braces-around-statements, - -hicpp-use-equals-default, + cppcoreguidelines-*,performance-*,bugprone-*, + -cppcoreguidelines-special-member-functions,-hicpp-special-member-functions, + -hicpp-braces-around-statements,-readability-braces-around-statements, + -hicpp-use-equals-default -modernize-use-equals-default, -hicpp-use-auto, - -cert-err58-cpp, -hicpp-vararg, - -modernize-use-equals-default, + -cert-err58-cpp, -readability-implicit-bool-conversion, -readability-else-after-return, -modernize-raw-string-literal, - -hicpp-no-array-decay, + -hicpp-no-array-decay,-cppcoreguidelines-pro-bounds-array-to-pointer-decay, -cert-err34-c, -hicpp-signed-bitwise, - -modernize-use-auto, - -hicpp-use-auto, + -modernize-use-auto,-hicpp-use-auto, + -readability-named-parameter, + -cert-dcl54-cpp, + -hicpp-new-delete-operators, + -modernize-pass-by-value, + -cppcoreguidelines-pro-type-union-access, + -hicpp-use-equals-default, + -cppcoreguidelines-pro-bounds-pointer-arithmetic, + -cppcoreguidelines-pro-bounds-constant-array-index, + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, + -cppcoreguidelines-pro-type-vararg, + -cppcoreguidelines-pro-type-cstyle-cast, + -cppcoreguidelines-pro-type-reinterpret-cast, + -cppcoreguidelines-owning-memory, ' AnalyzeTemporaryDtors: true HeaderFilterRegex: '/dev/opentrack' |