Silence new clang-tidy-18 checks

This commit is contained in:
Chris Thrasher 2024-04-22 20:47:05 -06:00 committed by Lukas Dürrenberger
parent 4315c3d290
commit f5a9def56e

View File

@ -10,6 +10,7 @@ Checks: >
readability-*, readability-*,
-bugprone-assignment-in-if-condition, -bugprone-assignment-in-if-condition,
-bugprone-branch-clone, -bugprone-branch-clone,
-bugprone-casting-through-void,
-bugprone-easily-swappable-parameters, -bugprone-easily-swappable-parameters,
-bugprone-exception-escape, -bugprone-exception-escape,
-bugprone-implicit-widening-of-multiplication-result, -bugprone-implicit-widening-of-multiplication-result,
@ -21,6 +22,7 @@ Checks: >
-bugprone-switch-missing-default-case, -bugprone-switch-missing-default-case,
-bugprone-unchecked-optional-access, -bugprone-unchecked-optional-access,
-clang-analyzer-nullability.NullablePassedToNonnull, -clang-analyzer-nullability.NullablePassedToNonnull,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-analyzer-optin.cplusplus.VirtualCall, -clang-analyzer-optin.cplusplus.VirtualCall,
-clang-analyzer-optin.osx.*, -clang-analyzer-optin.osx.*,
-clang-analyzer-osx.*, -clang-analyzer-osx.*,
@ -31,6 +33,7 @@ Checks: >
-cppcoreguidelines-avoid-magic-numbers, -cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables, -cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-init-variables, -cppcoreguidelines-init-variables,
-cppcoreguidelines-macro-to-enum,
-cppcoreguidelines-macro-usage, -cppcoreguidelines-macro-usage,
-cppcoreguidelines-narrowing-conversions, -cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-no-malloc, -cppcoreguidelines-no-malloc,
@ -56,8 +59,10 @@ Checks: >
-modernize-use-nodiscard, -modernize-use-nodiscard,
-modernize-use-trailing-return-type, -modernize-use-trailing-return-type,
-performance-avoid-endl, -performance-avoid-endl,
-performance-enum-size,
-performance-inefficient-string-concatenation, -performance-inefficient-string-concatenation,
-performance-no-int-to-ptr, -performance-no-int-to-ptr,
-readability-avoid-nested-conditional-operator,
-readability-braces-around-statements, -readability-braces-around-statements,
-readability-convert-member-functions-to-static, -readability-convert-member-functions-to-static,
-readability-else-after-return, -readability-else-after-return,
@ -67,6 +72,8 @@ Checks: >
-readability-implicit-bool-conversion, -readability-implicit-bool-conversion,
-readability-magic-numbers, -readability-magic-numbers,
-readability-named-parameter, -readability-named-parameter,
-readability-redundant-casting,
-readability-redundant-member-init,
-readability-uppercase-literal-suffix, -readability-uppercase-literal-suffix,
CheckOptions: CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase } - { key: readability-identifier-naming.ClassCase, value: CamelCase }