2020-06-23 04:32:21 +08:00
|
|
|
Checks: '*,
|
2021-10-30 03:27:34 +08:00
|
|
|
-altera-id-dependent-backward-branch,
|
2021-08-30 00:05:31 +08:00
|
|
|
-altera-struct-pack-align,
|
2021-10-30 03:27:34 +08:00
|
|
|
-altera-unroll-loops,
|
2021-03-24 14:15:18 +08:00
|
|
|
-android-cloexec-fopen,
|
2021-10-30 03:27:34 +08:00
|
|
|
-bugprone-easily-swappable-parameters,
|
2022-04-06 21:14:14 +08:00
|
|
|
-cert-err58-cpp,
|
2021-08-30 00:05:31 +08:00
|
|
|
-concurrency-mt-unsafe,
|
2020-06-23 04:32:21 +08:00
|
|
|
-cppcoreguidelines-avoid-goto,
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
2021-03-24 14:15:18 +08:00
|
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
2020-06-23 04:32:21 +08:00
|
|
|
-cppcoreguidelines-macro-usage,
|
2021-03-24 14:15:18 +08:00
|
|
|
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
|
|
|
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
|
|
|
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
|
|
|
|
-cppcoreguidelines-pro-type-reinterpret-cast,
|
|
|
|
-cppcoreguidelines-pro-type-union-access,
|
2021-10-30 03:27:34 +08:00
|
|
|
-cppcoreguidelines-virtual-class-destructor,
|
2020-06-23 04:32:21 +08:00
|
|
|
-fuchsia-default-arguments-calls,
|
|
|
|
-fuchsia-default-arguments-declarations,
|
|
|
|
-fuchsia-overloaded-operator,
|
2019-07-30 00:49:21 +08:00
|
|
|
-google-explicit-constructor,
|
2021-03-24 14:15:18 +08:00
|
|
|
-google-readability-function-size,
|
|
|
|
-google-runtime-int,
|
2020-06-23 04:32:21 +08:00
|
|
|
-google-runtime-references,
|
|
|
|
-hicpp-avoid-goto,
|
|
|
|
-hicpp-explicit-conversions,
|
2021-03-24 14:15:18 +08:00
|
|
|
-hicpp-function-size,
|
2019-03-17 19:02:23 +08:00
|
|
|
-hicpp-no-array-decay,
|
2021-03-24 14:15:18 +08:00
|
|
|
-hicpp-no-assembler,
|
|
|
|
-hicpp-signed-bitwise,
|
2019-03-17 19:02:23 +08:00
|
|
|
-hicpp-uppercase-literal-suffix,
|
|
|
|
-llvm-header-guard,
|
2020-06-23 04:32:21 +08:00
|
|
|
-llvm-include-order,
|
2021-03-24 14:15:18 +08:00
|
|
|
-llvmlibc-*,
|
2022-08-27 23:28:50 +08:00
|
|
|
-misc-confusable-identifiers,
|
2021-03-24 14:15:18 +08:00
|
|
|
-misc-no-recursion,
|
2020-06-23 04:32:21 +08:00
|
|
|
-misc-non-private-member-variables-in-classes,
|
2021-12-29 16:47:05 +08:00
|
|
|
-modernize-concat-nested-namespaces,
|
|
|
|
-modernize-use-nodiscard,
|
2019-07-30 00:49:21 +08:00
|
|
|
-modernize-use-trailing-return-type,
|
2021-08-30 00:05:31 +08:00
|
|
|
-readability-function-cognitive-complexity,
|
2021-12-29 16:47:05 +08:00
|
|
|
-readability-function-size,
|
2021-10-30 03:27:34 +08:00
|
|
|
-readability-identifier-length,
|
2019-03-17 19:02:23 +08:00
|
|
|
-readability-magic-numbers,
|
2021-03-24 14:15:18 +08:00
|
|
|
-readability-redundant-access-specifiers,
|
2022-07-31 13:21:48 +08:00
|
|
|
-readability-simplify-boolean-expr,
|
2019-03-17 19:02:23 +08:00
|
|
|
-readability-uppercase-literal-suffix'
|
|
|
|
|
|
|
|
CheckOptions:
|
|
|
|
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
|
|
|
|
value: 1
|
2021-03-24 14:15:18 +08:00
|
|
|
|
|
|
|
WarningsAsErrors: '*'
|
|
|
|
|
|
|
|
#HeaderFilterRegex: '.*nlohmann.*'
|
|
|
|
HeaderFilterRegex: '.*hpp$'
|