1
mirror of https://github.com/neovim/neovim.git synced 2024-12-28 14:31:13 -07:00

build: silence new clang-tidy warnings

This commit is contained in:
dundargoc 2024-04-23 18:36:17 +02:00 committed by dundargoc
parent 7d28c427e3
commit a1550dbf0a

View File

@ -14,6 +14,7 @@ Checks: >
section for it, section for it,
-bugprone-assignment-in-if-condition, -bugprone-assignment-in-if-condition,
-bugprone-implicit-widening-of-multiplication-result, -bugprone-implicit-widening-of-multiplication-result,
-bugprone-multi-level-implicit-pointer-conversion,
-bugprone-not-null-terminated-result, -bugprone-not-null-terminated-result,
-bugprone-suspicious-memory-comparison, -bugprone-suspicious-memory-comparison,
-bugprone-switch-missing-default-case, -bugprone-switch-missing-default-case,
@ -32,6 +33,7 @@ Checks: >
-hicpp-signed-bitwise, -hicpp-signed-bitwise,
-misc-unused-parameters, -misc-unused-parameters,
-modernize-macro-to-enum, -modernize-macro-to-enum,
-readability-avoid-nested-conditional-operator,
-readability-else-after-return, -readability-else-after-return,
-readability-function-size, -readability-function-size,
-readability-isolate-declaration, -readability-isolate-declaration,
@ -40,6 +42,7 @@ Checks: >
-altera-*, Checks related to OpenCL programming for FPGAs. Not relevant, -altera-*, Checks related to OpenCL programming for FPGAs. Not relevant,
-android-*, -android-*,
-bugprone-easily-swappable-parameters, -bugprone-easily-swappable-parameters,
-bugprone-inc-dec-in-conditions,
-bugprone-swapped-arguments, -bugprone-swapped-arguments,
-clang-analyzer-*, Already covered by the cmake target "clang-analyzer", -clang-analyzer-*, Already covered by the cmake target "clang-analyzer",
-cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-avoid-non-const-global-variables,
@ -65,6 +68,9 @@ Checks: >
-cert-msc24-c, -cert-msc24-c,
-cert-msc33-c, -cert-msc33-c,
-cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-macro-to-enum,
-google-readability-braces-around-statements,
-google-readability-function-size, -google-readability-function-size,
-hicpp-braces-around-statements,
-hicpp-function-size, -hicpp-function-size,
-llvm-else-after-return, -llvm-else-after-return,