2020-10-12 10:53:11 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
Checks: >
|
|
|
|
-*,
|
2020-11-04 18:03:10 +00:00
|
|
|
bugprone-*,
|
|
|
|
-bugprone-branch-clone,
|
|
|
|
-bugprone-incorrect-roundings,
|
|
|
|
-bugprone-integer-division,
|
|
|
|
-bugprone-macro-parentheses,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-parent-virtual-call,
|
|
|
|
-bugprone-unhandled-self-assignment,
|
2020-10-12 10:53:11 +00:00
|
|
|
clang-analyzer-*,
|
|
|
|
-clang-analyzer-optin.cplusplus.UninitializedObject,
|
|
|
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
|
|
|
-clang-analyzer-optin.performance.Padding,
|
|
|
|
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
2020-10-26 13:11:11 +00:00
|
|
|
modernize-loop-convert,
|
2020-10-26 10:28:18 +00:00
|
|
|
readability-qualified-auto,
|
2020-10-12 10:53:11 +00:00
|
|
|
HeaderFilterRegex: 'src/.*'
|