From 2d16f35eb6a9fdfa6a44cc78ca67091fa0e9ee97 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 3 Jul 2018 08:20:31 +0200 Subject: clang-tidy: get rid of nonsense --- .clang-tidy | 31 ++++++++++++++++++++----------- 1 file 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' -- cgit v1.2.3