mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
37 lines
1.1 KiB
YAML
37 lines
1.1 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
|
|
|
|
Checks: >
|
|
-*,
|
|
bugprone-*,
|
|
-bugprone-branch-clone,
|
|
-bugprone-incorrect-roundings,
|
|
-bugprone-integer-division,
|
|
-bugprone-macro-parentheses,
|
|
-bugprone-narrowing-conversions,
|
|
-bugprone-parent-virtual-call,
|
|
-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-non-private-member-variables-in-classes,
|
|
-misc-static-assert,
|
|
-misc-unused-parameters,
|
|
modernize-loop-convert,
|
|
readability-qualified-auto,
|
|
performance-*,
|
|
HeaderFilterRegex: 'src/.*'
|