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
|
2020-11-05 10:47:07 +00:00
|
|
|
# misc-unused-parameters
|
|
|
|
# TODO: Many changes
|
2022-01-22 16:34:23 +00:00
|
|
|
# readability-static-accessed-through-instance,
|
|
|
|
# Crashes: https://github.com/llvm/llvm-project/issues/53359
|
2020-10-12 10:53:11 +00:00
|
|
|
|
|
|
|
Checks: >
|
|
|
|
-*,
|
2020-11-04 18:03:10 +00:00
|
|
|
bugprone-*,
|
|
|
|
-bugprone-branch-clone,
|
2022-01-22 12:24:45 +00:00
|
|
|
-bugprone-easily-swappable-parameters,
|
|
|
|
-bugprone-implicit-widening-of-multiplication-result,
|
2020-11-04 18:03:10 +00:00
|
|
|
-bugprone-incorrect-roundings,
|
|
|
|
-bugprone-integer-division,
|
|
|
|
-bugprone-macro-parentheses,
|
|
|
|
-bugprone-narrowing-conversions,
|
|
|
|
-bugprone-parent-virtual-call,
|
2020-12-22 11:28:37 +00:00
|
|
|
-bugprone-reserved-identifier,
|
2022-01-22 12:24:45 +00:00
|
|
|
-bugprone-suspicious-include,
|
2020-11-04 18:03:10 +00:00
|
|
|
-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-11-05 10:47:07 +00:00
|
|
|
misc-*,
|
2020-12-22 11:28:37 +00:00
|
|
|
-misc-no-recursion,
|
2020-11-05 10:47:07 +00:00
|
|
|
-misc-non-private-member-variables-in-classes,
|
|
|
|
-misc-static-assert,
|
|
|
|
-misc-unused-parameters,
|
2020-10-26 13:11:11 +00:00
|
|
|
modernize-loop-convert,
|
2022-01-22 12:44:22 +00:00
|
|
|
readability-avoid-const-params-in-decls,
|
2022-01-22 12:47:37 +00:00
|
|
|
readability-const-return-type,
|
|
|
|
readability-container-data-pointer,
|
2020-10-26 10:28:18 +00:00
|
|
|
readability-qualified-auto,
|
2022-01-22 12:54:25 +00:00
|
|
|
readability-container-size-empty,
|
2022-01-22 12:47:37 +00:00
|
|
|
readability-delete-null-pointer,
|
2022-01-22 13:12:59 +00:00
|
|
|
readability-inconsistent-declaration-parameter-name,
|
2022-01-22 13:27:29 +00:00
|
|
|
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,
|
2022-01-22 16:34:23 +00:00
|
|
|
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,
|
2020-11-05 10:34:20 +00:00
|
|
|
performance-*,
|
2022-01-22 12:24:45 +00:00
|
|
|
-performance-no-int-to-ptr,
|