You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
254 lines
8.4 KiB
254 lines
8.4 KiB
--- |
|
Checks: >- |
|
-*, |
|
bugprone-assert-side-effect, |
|
bugprone-bad-signal-to-kill-thread, |
|
bugprone-bool-pointer-implicit-conversion, |
|
bugprone-branch-clone, |
|
bugprone-copy-constructor-init, |
|
bugprone-dangling-handle, |
|
bugprone-dynamic-static-initializers, |
|
bugprone-exception-escape, |
|
bugprone-forward-declaration-namespace, |
|
bugprone-forwarding-reference-overload, |
|
bugprone-inaccurate-erase, |
|
bugprone-incorrect-roundings, |
|
bugprone-infinite-loop, |
|
bugprone-integer-division, |
|
bugprone-macro-parentheses, |
|
bugprone-misplaced-operator-in-strlen-in-alloc, |
|
bugprone-misplaced-pointer-arithmetic-in-alloc, |
|
bugprone-misplaced-widening-cast, |
|
bugprone-move-forwarding-reference, |
|
bugprone-multiple-statement-macro, |
|
bugprone-not-null-terminated-result, |
|
bugprone-parent-virtual-call, |
|
bugprone-posix-return, |
|
bugprone-signed-char-misuse, |
|
bugprone-sizeof-container, |
|
bugprone-sizeof-expression, |
|
bugprone-spuriously-wake-up-functions, |
|
bugprone-string-constructor, |
|
bugprone-string-integer-assignment, |
|
bugprone-string-literal-with-embedded-nul, |
|
bugprone-suspicious-enum-usage, |
|
bugprone-suspicious-include, |
|
bugprone-suspicious-memset-usage, |
|
bugprone-suspicious-missing-comma, |
|
bugprone-suspicious-semicolon, |
|
bugprone-suspicious-string-compare, |
|
bugprone-swapped-arguments, |
|
bugprone-terminating-continue, |
|
bugprone-throw-keyword-missing, |
|
bugprone-too-small-loop-variable, |
|
bugprone-undefined-memory-manipulation, |
|
bugprone-undelegated-constructor, |
|
bugprone-unhandled-self-assignment, |
|
bugprone-unhandled-self-assignment, |
|
bugprone-unused-raii, |
|
bugprone-use-after-move, |
|
|
|
cert-dcl21-cpp, |
|
cert-dcl50-cpp, |
|
cert-dcl58-cpp, |
|
cert-env33-c, |
|
cert-err34-c, |
|
cert-err52-cpp, |
|
cert-err58-cpp, |
|
cert-err60-cpp, |
|
cert-flp30-c, |
|
cert-mem57-cpp, |
|
cert-msc50-cpp, |
|
cert-msc51-cpp, |
|
cert-oop57-cpp, |
|
cert-oop58-cpp, |
|
|
|
clang-analyzer-core.CallAndMessage, |
|
clang-analyzer-core.DivideZero, |
|
|
|
clang-analyzer-core.*, |
|
clang-analyzer-cplusplus.*, |
|
clang-analyzer-deadcode.*, |
|
clang-analyzer-nullability.*, |
|
clang-analyzer-optin.*, |
|
clang-analyzer-valist.*, |
|
clang-analyzer-security.*, |
|
|
|
cppcoreguidelines-avoid-goto, |
|
cppcoreguidelines-avoid-non-const-global-variables, |
|
cppcoreguidelines-init-variables, |
|
cppcoreguidelines-interfaces-global-init, |
|
cppcoreguidelines-macro-usage, |
|
cppcoreguidelines-narrowing-conversions, |
|
cppcoreguidelines-no-malloc, |
|
cppcoreguidelines-owning-memory, |
|
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-static-cast-downcast, |
|
cppcoreguidelines-pro-type-union-access, |
|
cppcoreguidelines-pro-type-vararg, |
|
cppcoreguidelines-slicing, |
|
cppcoreguidelines-special-member-functions, |
|
|
|
google-build-namespaces, |
|
google-default-arguments, |
|
google-explicit-constructor, |
|
google-build-using-namespace, |
|
google-global-names-in-headers, |
|
google-readability-casting, |
|
google-runtime-int, |
|
google-runtime-operator, |
|
|
|
hicpp-exception-baseclass, |
|
hicpp-multiway-paths-covered, |
|
hicpp-no-assembler, |
|
hicpp-signed-bitwise, |
|
llvm-namespace-comment, |
|
|
|
misc-definitions-in-headers, |
|
misc-misplaced-const, |
|
misc-new-delete-overloads, |
|
misc-no-recursion, |
|
misc-non-copyable-objects, |
|
misc-non-private-member-variables-in-classes, |
|
misc-redundant-expression, |
|
misc-static-assert, |
|
misc-throw-by-value-catch-by-reference, |
|
misc-unconventional-assign-operator, |
|
misc-uniqueptr-reset-release, |
|
misc-unused-parameters, |
|
misc-unused-using-decls, |
|
misc-unused-alias-decls, |
|
|
|
modernize-avoid-bind, |
|
modernize-avoid-c-arrays, |
|
modernize-concat-nested-namespaces, |
|
modernize-deprecated-headers, |
|
modernize-deprecated-ios-base-aliases, |
|
modernize-loop-convert, |
|
modernize-make-shared, |
|
modernize-make-unique, |
|
modernize-raw-string-literal, |
|
modernize-redundant-void-arg, |
|
modernize-replace-auto-ptr, |
|
modernize-replace-disallow-copy-and-assign-macro, |
|
modernize-replace-random-shuffle, |
|
modernize-return-braced-init-list, |
|
modernize-shrink-to-fit, |
|
modernize-unary-static-assert, |
|
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-nodiscard, |
|
modernize-use-noexcept, |
|
modernize-use-nullptr, |
|
modernize-use-override, |
|
modernize-use-transparent-functors, |
|
modernize-use-uncaught-exceptions, |
|
modernize-use-using, |
|
|
|
performance-faster-string-find, |
|
performance-for-range-copy, |
|
performance-implicit-conversion-in-loop, |
|
performance-inefficient-algorithm, |
|
performance-inefficient-string-concatenation, |
|
performance-inefficient-vector-operation, |
|
performance-move-const-arg, |
|
performance-move-constructor-init, |
|
performance-no-automatic-move, |
|
performance-noexcept-move-constructor, |
|
performance-trivially-destructible, |
|
performance-type-promotion-in-math-fn, |
|
performance-unnecessary-copy-initialization, |
|
performance-unnecessary-value-param, |
|
|
|
readability-avoid-const-params-in-decls, |
|
readability-braces-around-statements, |
|
readability-const-return-type, |
|
readability-container-size-empty, |
|
readability-delete-null-pointer, |
|
readability-deleted-default, |
|
readability-else-after-return, |
|
readability-function-size, |
|
readability-identifier-naming, |
|
readability-implicit-bool-conversion, |
|
readability-inconsistent-declaration-parameter-name, |
|
readability-isolate-declaration, |
|
readability-magic-numbers, |
|
readability-make-member-function-const, |
|
readability-misleading-indentation, |
|
readability-misplaced-array-index, |
|
readability-named-parameter, |
|
readability-non-const-parameter, |
|
readability-redundant-control-flow, |
|
readability-redundant-declaration, |
|
readability-redundant-function-ptr-dereference, |
|
readability-redundant-member-init, |
|
readability-redundant-preprocessor, |
|
readability-redundant-smartptr-get, |
|
readability-redundant-string-cstr, |
|
readability-redundant-string-init, |
|
readability-simplify-boolean-expr, |
|
readability-simplify-subscript-expr, |
|
readability-static-accessed-through-instance, |
|
readability-static-definition-in-anonymous-namespace, |
|
readability-string-compare, |
|
readability-uniqueptr-delete-release, |
|
readability-uppercase-literal-suffix, |
|
readability-use-anyofallof |
|
WarningsAsErrors: '' |
|
HeaderFilterRegex: '.*' |
|
AnalyzeTemporaryDtors: false |
|
FormatStyle: none |
|
CheckOptions: |
|
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
|
value: 1 |
|
- key: modernize-use-nullptr.NullMacros |
|
value: 'NULL' |
|
- key: readability-function-size.LineThreshold |
|
value: 50 |
|
- key: readability-function-size.StatementThreshold |
|
value: 800 |
|
- key: readability-function-size.BranchThreshold |
|
value: 10 |
|
- key: readability-function-size.ParameterThreshold |
|
value: 6 |
|
- key: readability-function-size.NestingThreshold |
|
value: 15 |
|
- key: readability-function-size.VariableThreshold |
|
value: 10 |
|
- key: readability-identifier-naming.ClassCase |
|
value: CamelCase |
|
- key: readability-identifier-naming.MemberCase |
|
value: camelBack |
|
- key: readability-identifier-naming.ClassMemberCase |
|
value: camelBack |
|
- key: readability-identifier-naming.ClassMethodCase |
|
value: camelBack |
|
- key: readability-identifier-naming.MethodCase |
|
value: camelBack |
|
- key: readability-identifier-naming.ConstantCase |
|
value: UPPER_CASE |
|
- key: readability-identifier-naming.LocalConstantCase |
|
value: camelBack |
|
- key: readability-identifier-naming.NamespaceCase |
|
value: lower_case |
|
- key: readability-identifier-naming.ParameterCase |
|
value: camelBack |
|
- key: readability-identifier-naming.EnumCase |
|
value: CamelCase |
|
- key: readability-identifier-naming.EnumConstantCase |
|
value: CamelCase |
|
- key: readability-identifier-naming.FunctionCase |
|
value: camelBack |
|
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic |
|
value: 1 |
|
...
|
|
|