2024-11-13 10:21:26 +01:00
|
|
|
# TODO: The first three checks are only removed to get the CI going. They have to be addressed at some point.
|
2025-05-31 17:48:34 +02:00
|
|
|
# TODO: portability-avoid-pragma-once: should be fixed eventually
|
2024-11-13 10:21:26 +01:00
|
|
|
|
2020-06-22 22:32:21 +02:00
|
|
|
Checks: '*,
|
2024-11-13 10:21:26 +01:00
|
|
|
|
|
|
|
|
-portability-template-virtual-member-function,
|
|
|
|
|
-bugprone-use-after-move,
|
|
|
|
|
-hicpp-invalid-access-moved,
|
|
|
|
|
|
2021-10-29 21:27:34 +02:00
|
|
|
-altera-id-dependent-backward-branch,
|
2021-08-29 18:05:31 +02:00
|
|
|
-altera-struct-pack-align,
|
2021-10-29 21:27:34 +02:00
|
|
|
-altera-unroll-loops,
|
2021-03-24 07:15:18 +01:00
|
|
|
-android-cloexec-fopen,
|
2024-11-13 10:21:26 +01:00
|
|
|
-boost-use-ranges,
|
2021-10-29 21:27:34 +02:00
|
|
|
-bugprone-easily-swappable-parameters,
|
2022-04-06 15:14:14 +02:00
|
|
|
-cert-err58-cpp,
|
2025-03-29 09:38:45 +01:00
|
|
|
-clang-analyzer-webkit.NoUncountedMemberChecker,
|
2021-08-29 18:05:31 +02:00
|
|
|
-concurrency-mt-unsafe,
|
2022-09-13 12:58:26 +02:00
|
|
|
-cppcoreguidelines-avoid-const-or-ref-data-members,
|
2022-12-04 14:03:54 +01:00
|
|
|
-cppcoreguidelines-avoid-do-while,
|
2020-06-22 22:32:21 +02:00
|
|
|
-cppcoreguidelines-avoid-goto,
|
|
|
|
|
-cppcoreguidelines-avoid-magic-numbers,
|
2021-03-24 07:15:18 +01:00
|
|
|
-cppcoreguidelines-avoid-non-const-global-variables,
|
2020-06-22 22:32:21 +02:00
|
|
|
-cppcoreguidelines-macro-usage,
|
2025-09-15 12:40:27 +02:00
|
|
|
-cppcoreguidelines-pro-bounds-avoid-unchecked-container-access,
|
2021-03-24 07:15:18 +01: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,
|
2023-05-21 17:23:18 +02:00
|
|
|
-cppcoreguidelines-rvalue-reference-param-not-moved,
|
2021-10-29 21:27:34 +02:00
|
|
|
-cppcoreguidelines-virtual-class-destructor,
|
2020-06-22 22:32:21 +02:00
|
|
|
-fuchsia-default-arguments-calls,
|
|
|
|
|
-fuchsia-default-arguments-declarations,
|
|
|
|
|
-fuchsia-overloaded-operator,
|
2019-07-29 18:49:21 +02:00
|
|
|
-google-explicit-constructor,
|
2021-03-24 07:15:18 +01:00
|
|
|
-google-readability-function-size,
|
|
|
|
|
-google-runtime-int,
|
2020-06-22 22:32:21 +02:00
|
|
|
-google-runtime-references,
|
|
|
|
|
-hicpp-avoid-goto,
|
|
|
|
|
-hicpp-explicit-conversions,
|
2021-03-24 07:15:18 +01:00
|
|
|
-hicpp-function-size,
|
2019-03-17 12:02:23 +01:00
|
|
|
-hicpp-no-array-decay,
|
2021-03-24 07:15:18 +01:00
|
|
|
-hicpp-no-assembler,
|
|
|
|
|
-hicpp-signed-bitwise,
|
2019-03-17 12:02:23 +01:00
|
|
|
-hicpp-uppercase-literal-suffix,
|
|
|
|
|
-llvm-header-guard,
|
2020-06-22 22:32:21 +02:00
|
|
|
-llvm-include-order,
|
2025-08-07 06:50:00 +02:00
|
|
|
-llvm-prefer-static-over-anonymous-namespace,
|
2025-09-15 12:40:27 +02:00
|
|
|
-llvm-use-ranges,
|
2021-03-24 07:15:18 +01:00
|
|
|
-llvmlibc-*,
|
2023-05-21 17:23:18 +02:00
|
|
|
-misc-use-anonymous-namespace,
|
2022-08-27 17:28:50 +02:00
|
|
|
-misc-confusable-identifiers,
|
2023-06-08 18:46:48 +02:00
|
|
|
-misc-include-cleaner,
|
2021-03-24 07:15:18 +01:00
|
|
|
-misc-no-recursion,
|
2020-06-22 22:32:21 +02:00
|
|
|
-misc-non-private-member-variables-in-classes,
|
2021-12-29 09:47:05 +01:00
|
|
|
-modernize-concat-nested-namespaces,
|
2023-05-21 17:23:18 +02:00
|
|
|
-modernize-type-traits,
|
2023-09-23 17:19:28 +02:00
|
|
|
-modernize-use-constraints,
|
2024-11-13 10:21:26 +01:00
|
|
|
-modernize-use-designated-initializers,
|
2021-12-29 09:47:05 +01:00
|
|
|
-modernize-use-nodiscard,
|
2024-11-13 10:21:26 +01:00
|
|
|
-modernize-use-ranges,
|
2024-01-28 14:04:07 +01:00
|
|
|
-modernize-use-std-numbers,
|
2019-07-29 18:49:21 +02:00
|
|
|
-modernize-use-trailing-return-type,
|
2023-09-23 17:19:28 +02:00
|
|
|
-performance-enum-size,
|
2025-05-31 17:48:34 +02:00
|
|
|
-portability-avoid-pragma-once,
|
2021-08-29 18:05:31 +02:00
|
|
|
-readability-function-cognitive-complexity,
|
2021-12-29 09:47:05 +01:00
|
|
|
-readability-function-size,
|
2021-10-29 21:27:34 +02:00
|
|
|
-readability-identifier-length,
|
2019-03-17 12:02:23 +01:00
|
|
|
-readability-magic-numbers,
|
2021-03-24 07:15:18 +01:00
|
|
|
-readability-redundant-access-specifiers,
|
2022-07-31 07:21:48 +02:00
|
|
|
-readability-simplify-boolean-expr,
|
2025-08-07 06:50:00 +02:00
|
|
|
-readability-uppercase-literal-suffix,
|
|
|
|
|
-readability-use-concise-preprocessor-directives'
|
2019-03-17 12:02:23 +01:00
|
|
|
|
|
|
|
|
CheckOptions:
|
|
|
|
|
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
|
|
|
|
|
value: 1
|
2021-03-24 07:15:18 +01:00
|
|
|
|
|
|
|
|
WarningsAsErrors: '*'
|
|
|
|
|
|
|
|
|
|
#HeaderFilterRegex: '.*nlohmann.*'
|
|
|
|
|
HeaderFilterRegex: '.*hpp$'
|