diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-18 13:32:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-18 13:34:48 +0200 |
commit | 634403a68dd710d68abcd2e063f9660e9b3e30ea (patch) | |
tree | 7b558a900574b91761bf7678d80466b76d50770d /.clang-tidy | |
parent | c48f26919f0c93e2e20a6f80dab70e30accb26d8 (diff) |
clang-tidy: fix accidental breakage
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 152 |
1 files changed, 81 insertions, 71 deletions
diff --git a/.clang-tidy b/.clang-tidy index 45be8345..53c0012e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,74 +1,84 @@ -Checks: - #-*, - *, - clang-analyzer-*,clang-diagnostic-*, - cppcoreguidelines-*,performance-*,bugprone-*, - readability-*,misc-*,hicpp-*,cert-*,modernize-*, - -clang-diagnostic-nonportable-include-path, - -clang-analyzer-deadcode.DeadStores, - -clang-analyze-core.CallAndMessage, - -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, - -hicpp-vararg, - -hicpp-member-init, - -cert-err58-cpp, - -readability-implicit-bool-conversion, - -readability-else-after-return, - -modernize-raw-string-literal, - -hicpp-no-array-decay,-cppcoreguidelines-pro-bounds-array-to-pointer-decay, - -cert-err34-c, - -hicpp-signed-bitwise, - -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, - -cppcoreguidelines-pro-type-const-cast, - -hicpp-function-size, - -cppcoreguidelines-pro-type-static-cast-downcast, - -hicpp-use-override, - -hicpp-use-equals-delete, - -readability-static-accessed-through-instance, - -cert-flp30-c, - -modernize-redundant-void-arg, - -hicpp-explicit-conversions, - -readability-function-size, - -cppcoreguidelines-avoid-goto, - -modernize-use-using, - -cppcoreguidelines-c-copy-assignment-signature, - -hicpp-avoid-goto, - -readability-inconsistent-declaration-parameter-name, - -cppcoreguidelines-avoid-magic-numbers, - -readability-magic-numbers, - -modernize-loop-convert, - -modernize-use-nodiscard, - -modernize-use-trailing-return-type, - -llvmlibc-*, - -google-readability-braces-around-statements, - -hicpp-braces-around-statements, - -readability-braces-around-statements, - -performance-no-int-to-ptr, - -altera-*, - -hicpp-named-parameter, - -cppcoreguidelines-macro-usage, - -misc-non-private-member-variables-in-classes, - -google-readability-casting, - -readability-isolate-declaration, - -fuchsia-*, - -modernize-return-braced-init-list, - -cppcoreguidelines-init-variables, - -cppcoreguidelines-avoid-c-arrays, +Checks: ' +*, +-altera-*, +-android-*, +-clang-analyzer-osx.*, +-fuchsia-*, +-google-*, +-llvm-*, +-llvmlibc-*, +-objc-*, +-bugprone-easily-swappable-parameters, +-bugprone-narrowing-conversions, +-cert-dcl54-cpp, +-cert-err34-c, +-cert-err58-cpp, +-cert-flp30-c, +clang-analyze-core.CallAndMessage, +clang-analyzer-deadcode.DeadStores, +-clang-diagnostic-nonportable-include-path, +-cppcoreguidelines-avoid-c-arrays, +-cppcoreguidelines-avoid-goto, +-cppcoreguidelines-avoid-magic-numbers, +-cppcoreguidelines-c-copy-assignment-signature, +-cppcoreguidelines-init-variables, +-cppcoreguidelines-macro-usage, +-cppcoreguidelines-narrowing-conversions, +-cppcoreguidelines-owning-memory, +-cppcoreguidelines-pro-bounds-array-to-pointer-decay, +-cppcoreguidelines-pro-bounds-constant-array-index, +-cppcoreguidelines-pro-bounds-pointer-arithmetic, +-cppcoreguidelines-pro-type-const-cast, +-cppcoreguidelines-pro-type-cstyle-cast, +-cppcoreguidelines-pro-type-reinterpret-cast, +-cppcoreguidelines-pro-type-static-cast-downcast, +-cppcoreguidelines-pro-type-union-access, +-cppcoreguidelines-pro-type-vararg, +-cppcoreguidelines-special-member-functions, +-cppcoreguidelines-special-member-functions-hicpp-special-member-functions, +-google-readability-braces-around-statements, +-google-readability-casting, +-hicpp-avoid-c-arrays, +-hicpp-avoid-goto, +-hicpp-braces-around-statements, +-hicpp-explicit-conversions, +-hicpp-function-size, +-hicpp-member-init, +-hicpp-named-parameter, +-hicpp-new-delete-operators, +-hicpp-no-array-decay, +-hicpp-signed-bitwise, +-hicpp-special-member-functions, +-hicpp-uppercase-literal-suffix, +-hicpp-use-auto, +-hicpp-use-equals-default, +-hicpp-use-equals-delete, +-hicpp-use-override, +-hicpp-vararg, +-misc-non-private-member-variables-in-classes, +-modernize-avoid-c-arrays, +-modernize-loop-convert, +-modernize-pass-by-value, +-modernize-raw-string-literal, +-modernize-redundant-void-arg, +modernize-return-braced-init-list, +-modernize-use-auto, +modernize-use-equals-default, +-modernize-use-nodiscard, +-modernize-use-trailing-return-type, +-modernize-use-using, +-performance-no-int-to-ptr, +-readability-braces-around-statements, +-readability-else-after-return, +-readability-identifier-length, +-readability-implicit-bool-conversion, +-readability-inconsistent-declaration-parameter-name, +-readability-isolate-declaration, +-readability-magic-numbers, +-readability-named-parameter, +-readability-static-accessed-through-instance, +-readability-uppercase-literal-suffix, +' AnalyzeTemporaryDtors: true #HeaderFilterRegex: '/dev/opentrack' |