forked from Archive/PX4-Autopilot
87 lines
3.1 KiB
YAML
87 lines
3.1 KiB
YAML
Checks: '*
|
|
,-cert-dcl50-cpp
|
|
,-cert-err34-c
|
|
,-cert-err58-cpp
|
|
,-cert-msc30-c
|
|
,-cert-msc50-cpp
|
|
,-clang-analyzer-core.CallAndMessage
|
|
,-clang-analyzer-core.NullDereference
|
|
,-clang-analyzer-core.UndefinedBinaryOperatorResult
|
|
,-clang-analyzer-core.uninitialized.Assign
|
|
,-clang-analyzer-core.VLASize
|
|
,-clang-analyzer-cplusplus.NewDeleteLeaks
|
|
,-clang-analyzer-deadcode.DeadStores
|
|
,-clang-analyzer-optin.cplusplus.VirtualCall
|
|
,-clang-analyzer-optin.performance.Padding
|
|
,-clang-analyzer-security.insecureAPI.strcpy
|
|
,-clang-analyzer-unix.API
|
|
,-clang-analyzer-unix.cstring.BadSizeArg
|
|
,-clang-analyzer-unix.Malloc
|
|
,-clang-analyzer-unix.MallocSizeof
|
|
,-cppcoreguidelines-c-copy-assignment-signature
|
|
,-cppcoreguidelines-interfaces-global-init
|
|
,-cppcoreguidelines-no-malloc
|
|
,-cppcoreguidelines-pro-bounds-array-to-pointer-decay
|
|
,-cppcoreguidelines-pro-bounds-constant-array-index
|
|
,-cppcoreguidelines-pro-bounds-pointer-arithmetic
|
|
,-cppcoreguidelines-pro-type-const-cast
|
|
,-cppcoreguidelines-pro-type-cstyle-cast
|
|
,-cppcoreguidelines-pro-type-member-init
|
|
,-cppcoreguidelines-pro-type-reinterpret-cast
|
|
,-cppcoreguidelines-pro-type-union-access
|
|
,-cppcoreguidelines-pro-type-vararg
|
|
,-cppcoreguidelines-special-member-functions
|
|
,-google-build-using-namespace
|
|
,-google-explicit-constructor
|
|
,-google-global-names-in-headers
|
|
,-google-readability-casting
|
|
,-google-readability-namespace-comments
|
|
,-google-readability-todo
|
|
,-google-runtime-int
|
|
,-google-runtime-references
|
|
,-llvm-header-guard
|
|
,-llvm-include-order
|
|
,-llvm-namespace-comment
|
|
,-misc-incorrect-roundings
|
|
,-misc-macro-parentheses
|
|
,-misc-misplaced-widening-cast
|
|
,-misc-redundant-expression
|
|
,-misc-unconventional-assign-operator
|
|
,-misc-unused-parameters
|
|
,-modernize-deprecated-headers
|
|
,-modernize-loop-convert
|
|
,-modernize-use-auto
|
|
,-modernize-use-bool-literals
|
|
,-modernize-use-default-member-init
|
|
,-modernize-use-emplace
|
|
,-modernize-use-equals-default
|
|
,-modernize-use-equals-delete
|
|
,-modernize-use-override
|
|
,-modernize-use-using
|
|
,-performance-inefficient-string-concatenation
|
|
,-readability-avoid-const-params-in-decls
|
|
,-readability-else-after-return
|
|
,-readability-implicit-bool-cast
|
|
,-readability-inconsistent-declaration-parameter-name
|
|
,-readability-non-const-parameter
|
|
,-readability-redundant-declaration
|
|
,-readability-redundant-member-init
|
|
,-readability-simplify-boolean-expr
|
|
'
|
|
WarningsAsErrors: '*'
|
|
CheckOptions:
|
|
- key: google-readability-braces-around-statements.ShortStatementLines
|
|
value: '1'
|
|
- key: google-readability-function-size.BranchThreshold
|
|
value: '600'
|
|
- key: google-readability-function-size.LineThreshold
|
|
value: '4000'
|
|
- key: google-readability-function-size.StatementThreshold
|
|
value: '4000'
|
|
- key: readability-braces-around-statements.ShortStatementLines
|
|
value: '1'
|
|
- key: readability-function-size.LineThreshold
|
|
value: '4000'
|
|
- key: readability-function-size.StatementThreshold
|
|
value: '4000'
|