|
| 1 | +# Copyright 2013-2024 Daniel Parker |
| 2 | +# Distributed under the Boost license, Version 1.0. |
| 3 | +# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 4 | + |
| 5 | +# See https://github.com/danielaparker/jsoncons for latest version |
| 6 | + |
| 7 | +# Revisit: |
| 8 | +# fuchsia-virtual-inheritance |
| 9 | + |
| 10 | +Checks: '*, |
| 11 | + -llvm-else-after-return, |
| 12 | + -readability-else-after-return, |
| 13 | + -cppcoreguidelines-avoid-c-arrays, |
| 14 | + -hicpp-avoid-c-arrays, |
| 15 | + -modernize-avoid-c-arrays, |
| 16 | + -fuchsia-virtual-inheritance, |
| 17 | + -modernize-return-braced-init-list, |
| 18 | + -readability-avoid-nested-conditional-operator, |
| 19 | + -google-readability-casting, |
| 20 | + -bugprone-branch-clone, |
| 21 | + -hicpp-named-parameter, |
| 22 | + -readability-named-parameter, |
| 23 | + -bugprone-throw-keyword-missing, |
| 24 | + |
| 25 | + -portability-template-virtual-member-function, |
| 26 | + -bugprone-use-after-move, |
| 27 | + -hicpp-invalid-access-moved, |
| 28 | + |
| 29 | + -altera-id-dependent-backward-branch, |
| 30 | + -altera-struct-pack-align, |
| 31 | + -altera-unroll-loops, |
| 32 | + -android-cloexec-fopen, |
| 33 | + -boost-use-ranges, |
| 34 | + -bugprone-easily-swappable-parameters, |
| 35 | + -cert-err58-cpp, |
| 36 | + -concurrency-mt-unsafe, |
| 37 | + -cppcoreguidelines-avoid-const-or-ref-data-members, |
| 38 | + -cppcoreguidelines-avoid-do-while, |
| 39 | + -cppcoreguidelines-avoid-goto, |
| 40 | + -cppcoreguidelines-avoid-magic-numbers, |
| 41 | + -cppcoreguidelines-avoid-non-const-global-variables, |
| 42 | + -cppcoreguidelines-macro-usage, |
| 43 | + -cppcoreguidelines-pro-bounds-array-to-pointer-decay, |
| 44 | + -cppcoreguidelines-pro-bounds-constant-array-index, |
| 45 | + -cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 46 | + -cppcoreguidelines-pro-type-reinterpret-cast, |
| 47 | + -cppcoreguidelines-pro-type-union-access, |
| 48 | + -cppcoreguidelines-rvalue-reference-param-not-moved, |
| 49 | + -cppcoreguidelines-virtual-class-destructor, |
| 50 | + -fuchsia-default-arguments-calls, |
| 51 | + -fuchsia-default-arguments-declarations, |
| 52 | + -fuchsia-overloaded-operator, |
| 53 | + -google-explicit-constructor, |
| 54 | + -google-readability-function-size, |
| 55 | + -google-runtime-int, |
| 56 | + -google-runtime-references, |
| 57 | + -hicpp-avoid-goto, |
| 58 | + -hicpp-explicit-conversions, |
| 59 | + -hicpp-function-size, |
| 60 | + -hicpp-no-array-decay, |
| 61 | + -hicpp-no-assembler, |
| 62 | + -hicpp-signed-bitwise, |
| 63 | + -hicpp-uppercase-literal-suffix, |
| 64 | + -llvm-header-guard, |
| 65 | + -llvm-include-order, |
| 66 | + -llvmlibc-*, |
| 67 | + -misc-use-anonymous-namespace, |
| 68 | + -misc-confusable-identifiers, |
| 69 | + -misc-include-cleaner, |
| 70 | + -misc-no-recursion, |
| 71 | + -misc-non-private-member-variables-in-classes, |
| 72 | + -modernize-concat-nested-namespaces, |
| 73 | + -modernize-type-traits, |
| 74 | + -modernize-use-constraints, |
| 75 | + -modernize-use-designated-initializers, |
| 76 | + -modernize-use-integer-sign-comparison, |
| 77 | + -modernize-use-nodiscard, |
| 78 | + -modernize-use-ranges, |
| 79 | + -modernize-use-std-numbers, |
| 80 | + -modernize-use-trailing-return-type, |
| 81 | + -performance-enum-size, |
| 82 | + -readability-function-cognitive-complexity, |
| 83 | + -readability-function-size, |
| 84 | + -readability-identifier-length, |
| 85 | + -readability-magic-numbers, |
| 86 | + -readability-redundant-access-specifiers, |
| 87 | + -readability-simplify-boolean-expr, |
| 88 | + -readability-uppercase-literal-suffix, |
| 89 | + |
| 90 | + -readability-hicpp-named-parameter' |
| 91 | + |
| 92 | +CheckOptions: |
| 93 | + - key: hicpp-special-member-functions.AllowSoleDefaultDtor |
| 94 | + value: 1 |
| 95 | + |
| 96 | +WarningsAsErrors: '*' |
0 commit comments