mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
68 lines
2.4 KiB
YAML
68 lines
2.4 KiB
YAML
# Why we disabled individual checks:
|
|
#
|
|
# clang-analyzer-optin.cplusplus.UninitializedObject
|
|
# TODO: Occurs commonly in graphics_threaded.h
|
|
# clang-analyzer-optin.cplusplus.VirtualCall
|
|
# Occurs very commonly all over
|
|
# clang-analyzer-optin.performance.Padding
|
|
# Too annoying to always align for perfect padding
|
|
# clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
# TODO: Requires C11 to fix
|
|
# misc-unused-parameters
|
|
# TODO: Many changes
|
|
# readability-static-accessed-through-instance,
|
|
# Crashes: https://github.com/llvm/llvm-project/issues/53359
|
|
|
|
Checks: >
|
|
-*,
|
|
bugprone-*,
|
|
-bugprone-branch-clone,
|
|
-bugprone-easily-swappable-parameters,
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
|
-bugprone-incorrect-roundings,
|
|
-bugprone-integer-division,
|
|
-bugprone-macro-parentheses,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-parent-virtual-call,
|
|
-bugprone-reserved-identifier,
|
|
-bugprone-suspicious-include,
|
|
-bugprone-unhandled-self-assignment,
|
|
clang-analyzer-*,
|
|
-clang-analyzer-optin.cplusplus.UninitializedObject,
|
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
|
-clang-analyzer-optin.performance.Padding,
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
misc-*,
|
|
-misc-no-recursion,
|
|
-misc-non-private-member-variables-in-classes,
|
|
-misc-static-assert,
|
|
-misc-unused-parameters,
|
|
modernize-loop-convert,
|
|
readability-avoid-const-params-in-decls,
|
|
readability-const-return-type,
|
|
readability-container-data-pointer,
|
|
readability-qualified-auto,
|
|
readability-container-size-empty,
|
|
readability-delete-null-pointer,
|
|
readability-inconsistent-declaration-parameter-name,
|
|
readability-misleading-indentation,
|
|
readability-misplaced-array-index,
|
|
readability-redundant-access-specifiers,
|
|
readability-redundant-control-flow,
|
|
readability-redundant-declaration,
|
|
readability-redundant-function-ptr-dereference,
|
|
readability-redundant-member-init,
|
|
readability-redundant-preprocessor,
|
|
readability-redundant-smartptr-get,
|
|
readability-redundant-string-cstr,
|
|
readability-redundant-string-init,
|
|
readability-simplify-boolean-expr,
|
|
readability-simplify-subscript-expr,
|
|
-readability-static-accessed-through-instance,
|
|
readability-static-definition-in-anonymous-namespace,
|
|
readability-string-compare,
|
|
readability-uniqueptr-delete-release,
|
|
readability-use-anyofallof,
|
|
performance-*,
|
|
-performance-no-int-to-ptr,
|