mirror of
https://github.com/coturn/coturn.git
synced 2025-04-19 16:39:24 +08:00
Use the include-what-you-use program to (partially) clean up header includes, so that only includes which are needed, and no includes that are not needed (or at least closer to that ideal) are done. For a c-language project, the build-time improvements from this change is minimal. This would have a much bigger impact on a C++ project than a C-project for build times. So for coturn, this change is mostly intended to just provide consistency and make it easier to locate weird issues like strange dependencies, and unnecessary connections between code.
23 lines
687 B
YAML
23 lines
687 B
YAML
---
|
|
Checks: 'clang-diagnostic-*,
|
|
,clang-analyzer-*,
|
|
,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
|
|
,-clang-analyzer-security.insecureAPI.strcpy,
|
|
,-clang-analyzer-cplusplus.InnerPointer,
|
|
,bugprone-*,
|
|
,-bugprone-easily-swappable-parameters,
|
|
,performance-*,
|
|
,readability-*,
|
|
,-readability-braces-around-statements,
|
|
,-readability-identifier-length,
|
|
,-readability-else-after-return,
|
|
,-readability-magic-numbers,
|
|
,-readability-function-cognitive-complexity,
|
|
,-readability-uppercase-literal-suffix,
|
|
,modernize-*,
|
|
,-modernize-use-trailing-return-type,
|
|
,-modernize-use-auto,
|
|
,-cplusplus.InnerPointer,
|
|
,-clang-diagnostic-ignored-optimization-argument,
|
|
'
|