2019-04-23 21:05:17 +08:00
|
|
|
---
|
2019-05-03 20:03:05 +08:00
|
|
|
Checks: '*,
|
2021-07-14 20:40:47 +08:00
|
|
|
-abseil-string-find-str-contains,
|
2022-02-11 18:29:41 +08:00
|
|
|
-altera-id-dependent-backward-branch,
|
2021-09-09 16:44:47 +08:00
|
|
|
-altera-struct-pack-align,
|
2022-02-01 00:26:53 +08:00
|
|
|
-altera-unroll-loops,
|
2019-05-03 20:03:05 +08:00
|
|
|
-android-*,
|
|
|
|
-cert-err58-cpp,
|
2022-07-05 14:20:59 +08:00
|
|
|
-cert-str34-c,
|
2019-05-03 20:03:05 +08:00
|
|
|
-cppcoreguidelines-avoid-c-arrays,
|
|
|
|
-cppcoreguidelines-avoid-goto,
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
|
|
|
-cppcoreguidelines-no-malloc,
|
|
|
|
-cppcoreguidelines-non-private-member-variables-in-classes,
|
|
|
|
-cppcoreguidelines-owning-memory,
|
|
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
|
|
-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-special-member-functions,
|
|
|
|
-fuchsia-default-arguments,
|
2019-10-31 21:52:25 +08:00
|
|
|
-fuchsia-default-arguments-calls,
|
|
|
|
-fuchsia-default-arguments-declarations,
|
2019-05-03 20:03:05 +08:00
|
|
|
-fuchsia-overloaded-operator,
|
|
|
|
-fuchsia-statically-constructed-objects,
|
|
|
|
-fuchsia-trailing-return,
|
|
|
|
-fuchsia-virtual-inheritance,
|
|
|
|
-google-explicit-constructor,
|
|
|
|
-google-readability-*,
|
2021-06-07 16:40:56 +08:00
|
|
|
-google-runtime-references,
|
2019-05-03 20:03:05 +08:00
|
|
|
-hicpp-avoid-c-arrays,
|
|
|
|
-hicpp-avoid-goto,
|
|
|
|
-hicpp-braces-around-statements,
|
|
|
|
-hicpp-member-init,
|
|
|
|
-hicpp-no-array-decay,
|
|
|
|
-hicpp-no-assembler,
|
|
|
|
-hicpp-no-malloc,
|
|
|
|
-hicpp-use-equals-default,
|
2021-06-22 14:43:19 +08:00
|
|
|
-hicpp-use-nullptr,
|
2019-05-03 20:03:05 +08:00
|
|
|
-hicpp-vararg,
|
|
|
|
-llvm-header-guard,
|
2021-06-22 14:43:19 +08:00
|
|
|
-llvm-include-order,
|
2020-11-13 03:18:11 +08:00
|
|
|
-llvmlibc-callee-namespace,
|
|
|
|
-llvmlibc-implementation-in-namespace,
|
|
|
|
-llvmlibc-restrict-system-libc-headers,
|
2019-05-03 20:03:05 +08:00
|
|
|
-misc-non-private-member-variables-in-classes,
|
|
|
|
-modernize-avoid-c-arrays,
|
|
|
|
-modernize-concat-nested-namespaces,
|
2022-07-05 14:20:59 +08:00
|
|
|
-modernize-loop-convert,
|
2019-05-03 20:03:05 +08:00
|
|
|
-modernize-pass-by-value,
|
|
|
|
-modernize-use-equals-default,
|
|
|
|
-modernize-use-nodiscard,
|
2019-10-25 16:18:11 +08:00
|
|
|
-modernize-use-trailing-return-type,
|
2019-05-03 20:03:05 +08:00
|
|
|
-performance-unnecessary-value-param,
|
|
|
|
-readability-braces-around-statements,
|
|
|
|
-readability-else-after-return,
|
2021-07-22 22:22:08 +08:00
|
|
|
-readability-function-cognitive-complexity,
|
2019-05-03 20:03:05 +08:00
|
|
|
-readability-implicit-bool-conversion,
|
|
|
|
-readability-magic-numbers,
|
2021-05-14 21:38:59 +08:00
|
|
|
-readability-named-parameter,
|
2021-11-02 16:19:41 +08:00
|
|
|
-misc-no-recursion,
|
2022-06-21 22:18:43 +08:00
|
|
|
-concurrency-mt-unsafe,
|
|
|
|
-bugprone-easily-swappable-parameters'
|
|
|
|
|
2019-04-23 21:05:17 +08:00
|
|
|
WarningsAsErrors: ''
|
2021-04-01 23:08:40 +08:00
|
|
|
HeaderFilterRegex: 'src/.*'
|
2019-04-23 21:05:17 +08:00
|
|
|
AnalyzeTemporaryDtors: false
|
|
|
|
FormatStyle: none
|
|
|
|
CheckOptions:
|
|
|
|
- key: google-readability-braces-around-statements.ShortStatementLines
|
|
|
|
value: '1'
|
|
|
|
- key: google-readability-function-size.StatementThreshold
|
|
|
|
value: '800'
|
|
|
|
- key: google-readability-namespace-comments.ShortNamespaceLines
|
|
|
|
value: '10'
|
|
|
|
- key: google-readability-namespace-comments.SpacesBeforeComments
|
|
|
|
value: '2'
|
|
|
|
- key: modernize-loop-convert.MaxCopySize
|
|
|
|
value: '16'
|
|
|
|
- key: modernize-loop-convert.MinConfidence
|
|
|
|
value: reasonable
|
|
|
|
- key: modernize-loop-convert.NamingStyle
|
|
|
|
value: CamelCase
|
|
|
|
- key: modernize-pass-by-value.IncludeStyle
|
|
|
|
value: llvm
|
|
|
|
- key: modernize-replace-auto-ptr.IncludeStyle
|
|
|
|
value: llvm
|
|
|
|
- key: modernize-use-nullptr.NullMacros
|
|
|
|
value: 'NULL'
|
|
|
|
...
|