[clang-tidy] disable cppcoreguidelines-no-malloc,hicpp-no-malloc

The project is mostly C so the C++ components are expected to wrap the C
allocation. This check does only produce false positives in our use
case.
This commit is contained in:
akallabeth 2024-09-09 17:42:15 +02:00
parent edf6ab89f7
commit b7553d5f41
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5

View File

@ -37,6 +37,7 @@ Checks: >
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-to-enum,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-no-malloc,
-google-readability-braces-around-statements,
-google-readability-todo,
-hicpp-braces-around-statements,
@ -45,6 +46,7 @@ Checks: >
-hicpp-signed-bitwise,
-hicpp-uppercase-literal-suffix,
-hicpp-vararg,
-hicpp-no-malloc,
-llvm-header-guard,
-llvm-include-order,
-llvm-qualified-auto,