diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 08:20:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-03 08:20:31 +0200 |
commit | 2d16f35eb6a9fdfa6a44cc78ca67091fa0e9ee97 (patch) | |
tree | 8274870a63b6c62a041faf2da6c708d896102f59 | |
parent | ad1285c05bc93fe0cb9851334c5d8bd7fddf96ab (diff) |
clang-tidy: get rid of nonsense
-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' |