mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
Add suppression for clang-tidy bugprone-suspicious-realloc-usage
We generally don't handle memory allocation failures.
This commit is contained in:
parent
59f4ae06d0
commit
6d71e119a2
|
@ -16,6 +16,8 @@
|
||||||
# Crashes: https://github.com/llvm/llvm-project/issues/53359
|
# Crashes: https://github.com/llvm/llvm-project/issues/53359
|
||||||
# misc-use-anonymous-namespace
|
# misc-use-anonymous-namespace
|
||||||
# We don't want to use anonymous namespaces instead of static functions.
|
# We don't want to use anonymous namespaces instead of static functions.
|
||||||
|
# bugprone-suspicious-realloc-usage
|
||||||
|
# We generally don't handle memory allocation failures.
|
||||||
|
|
||||||
Checks: >
|
Checks: >
|
||||||
-*,
|
-*,
|
||||||
|
@ -32,6 +34,7 @@ Checks: >
|
||||||
-bugprone-reserved-identifier,
|
-bugprone-reserved-identifier,
|
||||||
-bugprone-suspicious-include,
|
-bugprone-suspicious-include,
|
||||||
-bugprone-unhandled-self-assignment,
|
-bugprone-unhandled-self-assignment,
|
||||||
|
-bugprone-suspicious-realloc-usage,
|
||||||
clang-analyzer-*,
|
clang-analyzer-*,
|
||||||
-clang-analyzer-optin.cplusplus.UninitializedObject,
|
-clang-analyzer-optin.cplusplus.UninitializedObject,
|
||||||
-clang-analyzer-optin.cplusplus.VirtualCall,
|
-clang-analyzer-optin.cplusplus.VirtualCall,
|
||||||
|
|
Loading…
Reference in a new issue