2022-05-16 12:58:24 +00:00
|
|
|
FormatStyle: file
|
2022-05-30 14:50:58 +00:00
|
|
|
Checks: "-*,\
|
|
|
|
abseil-*,\
|
|
|
|
-abseil-string-find-startswith,\
|
|
|
|
-abseil-string-find-str-contains,\
|
|
|
|
bugprone-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-bugprone-branch-clone,\
|
|
|
|
-bugprone-copy-constructor-init,\
|
|
|
|
-bugprone-easily-swappable-parameters,\
|
|
|
|
-bugprone-forward-declaration-namespace,\
|
|
|
|
-bugprone-forwarding-reference-overload,\
|
|
|
|
-bugprone-implicit-widening-of-multiplication-result,\
|
|
|
|
-bugprone-lambda-function-name,\
|
|
|
|
-bugprone-macro-parentheses,\
|
|
|
|
-bugprone-misplaced-widening-cast,\
|
|
|
|
-bugprone-narrowing-conversions,\
|
|
|
|
-bugprone-parent-virtual-call,\
|
|
|
|
-bugprone-reserved-identifier,\
|
|
|
|
-bugprone-signed-char-misuse,\
|
|
|
|
-bugprone-sizeof-expression,\
|
|
|
|
-bugprone-string-constructor,\
|
|
|
|
-bugprone-suspicious-include,\
|
|
|
|
-bugprone-too-small-loop-variable,\
|
|
|
|
-bugprone-unhandled-self-assignment,\
|
|
|
|
-bugprone-use-after-move,\
|
2022-05-30 14:50:58 +00:00
|
|
|
cert-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-cert-dcl16-c,\
|
|
|
|
-cert-dcl21-cpp,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-cert-dcl37-c,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-cert-dcl50-cpp,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-cert-dcl51-cpp,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-cert-dcl54-cpp,\
|
|
|
|
-cert-dcl58-cpp,\
|
|
|
|
-cert-err33-c,\
|
|
|
|
-cert-msc30-c,\
|
|
|
|
-cert-msc32-c,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-cert-msc50-cpp,\
|
|
|
|
-cert-msc51-cpp,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-cert-oop54-cpp,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-cert-str34-c,\
|
|
|
|
-cert-str34-c,\
|
|
|
|
-cert-str34-c,\
|
|
|
|
-cert-str34-c,\
|
|
|
|
-clang-analyzer-*,\
|
|
|
|
concurrency-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-concurrency-mt-unsafe,\
|
2022-05-30 14:50:58 +00:00
|
|
|
cppcoreguidelines-*,\
|
|
|
|
-concurrency-mt-unsafe,\
|
|
|
|
-cppcoreguidelines-avoid-c-arrays,\
|
|
|
|
-cppcoreguidelines-avoid-goto,\
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,\
|
|
|
|
-cppcoreguidelines-avoid-non-const-global-variables,\
|
|
|
|
-cppcoreguidelines-c-copy-assignment-signature,\
|
|
|
|
-cppcoreguidelines-explicit-virtual-functions,\
|
|
|
|
-cppcoreguidelines-init-variables,\
|
|
|
|
-cppcoreguidelines-interfaces-global-init,\
|
|
|
|
-cppcoreguidelines-macro-usage,\
|
|
|
|
-cppcoreguidelines-narrowing-conversions,\
|
|
|
|
-cppcoreguidelines-no-malloc,\
|
|
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,\
|
|
|
|
-cppcoreguidelines-owning-memory,\
|
|
|
|
-cppcoreguidelines-prefer-member-initializer,\
|
|
|
|
-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-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,\
|
|
|
|
-cppcoreguidelines-virtual-class-destructor,\
|
|
|
|
google-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-google-default-arguments,\
|
|
|
|
-google-explicit-constructor,\
|
|
|
|
-google-readability-avoid-underscore-in-googletest-name,\
|
|
|
|
-google-readability-braces-around-statements,\
|
|
|
|
-google-readability-casting,\
|
|
|
|
-google-readability-namespace-comments,\
|
|
|
|
-google-readability-todo,\
|
|
|
|
-google-runtime-int,\
|
|
|
|
-google-upgrade-googletest-case,\
|
2022-05-30 14:50:58 +00:00
|
|
|
misc-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-misc-misplaced-const,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-misc-new-delete-overloads,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-misc-non-private-member-variables-in-classes,\
|
|
|
|
-misc-no-recursion,\
|
|
|
|
-misc-redundant-expression,\
|
|
|
|
-misc-uniqueptr-reset-release,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-misc-unconventional-assign-operator,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-misc-unused-parameters,\
|
|
|
|
-misc-unused-using-decls,\
|
2022-05-30 14:50:58 +00:00
|
|
|
modernize-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-modernize-avoid-c-arrays,\
|
|
|
|
-modernize-concat-nested-namespaces,\
|
|
|
|
-modernize-deprecated-headers,\
|
|
|
|
-modernize-loop-convert,\
|
|
|
|
-modernize-macro-to-enum,\
|
|
|
|
-modernize-make-unique,\
|
|
|
|
-modernize-pass-by-value,\
|
|
|
|
-modernize-raw-string-literal,\
|
|
|
|
-modernize-redundant-void-arg,\
|
|
|
|
-modernize-return-braced-init-list,\
|
|
|
|
-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-nullptr,\
|
|
|
|
-modernize-use-override,\
|
|
|
|
-modernize-use-trailing-return-type,\
|
|
|
|
-modernize-use-transparent-functors,\
|
|
|
|
-modernize-use-using,\
|
2022-05-30 14:50:58 +00:00
|
|
|
performance-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-performance-faster-string-find,\
|
|
|
|
-performance-for-range-copy,\
|
|
|
|
-performance-inefficient-algorithm,\
|
|
|
|
-performance-inefficient-string-concatenation,\
|
|
|
|
-performance-inefficient-vector-operation,\
|
|
|
|
-performance-move-const-arg,\
|
|
|
|
-performance-no-automatic-move,\
|
|
|
|
-performance-noexcept-move-constructor,\
|
|
|
|
-performance-no-int-to-ptr,\
|
|
|
|
-performance-trivially-destructible,\
|
|
|
|
-performance-unnecessary-copy-initialization,\
|
|
|
|
-performance-unnecessary-value-param,\
|
2022-05-30 14:50:58 +00:00
|
|
|
portability-*,\
|
|
|
|
readability-*,\
|
2022-05-16 12:58:24 +00:00
|
|
|
-readability-avoid-const-params-in-decls,\
|
|
|
|
-readability-braces-around-statements,\
|
|
|
|
-readability-const-return-type,\
|
|
|
|
-readability-container-data-pointer,\
|
|
|
|
-readability-container-size-empty,\
|
|
|
|
-readability-convert-member-functions-to-static,\
|
|
|
|
-readability-else-after-return,\
|
|
|
|
-readability-function-cognitive-complexity,\
|
|
|
|
-readability-identifier-length,\
|
|
|
|
-readability-implicit-bool-conversion,\
|
|
|
|
-readability-inconsistent-declaration-parameter-name,\
|
|
|
|
-readability-isolate-declaration,\
|
|
|
|
-readability-magic-numbers,\
|
|
|
|
-readability-make-member-function-const,\
|
|
|
|
-readability-named-parameter,\
|
|
|
|
-readability-non-const-parameter,\
|
|
|
|
-readability-qualified-auto,\
|
|
|
|
-readability-redundant-access-specifiers,\
|
|
|
|
-readability-redundant-control-flow,\
|
|
|
|
-readability-redundant-declaration,\
|
|
|
|
-readability-redundant-member-init,\
|
|
|
|
-readability-redundant-smartptr-get,\
|
|
|
|
-readability-redundant-string-cstr,\
|
|
|
|
-readability-redundant-string-init,\
|
|
|
|
-readability-simplify-boolean-expr,\
|
|
|
|
-readability-static-accessed-through-instance,\
|
|
|
|
-readability-static-definition-in-anonymous-namespace,\
|
|
|
|
-readability-suspicious-call-argument,\
|
|
|
|
-readability-uppercase-literal-suffix,\
|
2022-05-30 14:50:58 +00:00
|
|
|
-readability-use-anyofallof
|
2022-05-16 12:58:24 +00:00
|
|
|
"
|