[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:
parent
edf6ab89f7
commit
b7553d5f41
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user