|
| 1 | +Checks: > |
| 2 | + clang-diagnostic-*, |
| 3 | + clang-diagnostic-error, |
| 4 | + clang-analyzer-*, |
| 5 | + clang-analyzer-core.*, |
| 6 | + clang-analyzer-cplusplus.*, |
| 7 | + clang-analyzer-deadcode.*, |
| 8 | + clang-analyzer-security.*, |
| 9 | + bugprone-*, |
| 10 | + cert-*, |
| 11 | + cppcoreguidelines-*, |
| 12 | + cppcoreguidelines-owning-memory, |
| 13 | + cppcoreguidelines-no-malloc, |
| 14 | + cppcoreguidelines-pro-bounds-array-to-pointer-decay, |
| 15 | + cppcoreguidelines-pro-bounds-constant-array-index, |
| 16 | + cppcoreguidelines-pro-bounds-pointer-arithmetic, |
| 17 | + cppcoreguidelines-pro-type-const-cast, |
| 18 | + cppcoreguidelines-pro-type-cstyle-cast, |
| 19 | + cppcoreguidelines-pro-type-reinterpret-cast, |
| 20 | + cppcoreguidelines-pro-type-union-access, |
| 21 | + cppcoreguidelines-slicing, |
| 22 | + google-build-using-namespace, |
| 23 | + google-explicit-constructor, |
| 24 | + google-readability-casting, |
| 25 | + google-runtime-int, |
| 26 | + google-runtime-operator, |
| 27 | + hicpp-exception-baseclass, |
| 28 | + hicpp-multiway-paths-covered, |
| 29 | + hicpp-no-malloc, |
| 30 | + hicpp-signed-bitwise, |
| 31 | + misc-*, |
| 32 | + modernize-*, |
| 33 | + mpi-*, |
| 34 | + performance-*, |
| 35 | + readability-*, |
| 36 | + -modernize-use-trailing-return-type, |
| 37 | + -readability-magic-numbers, |
| 38 | + -cppcoreguidelines-avoid-magic-numbers, |
| 39 | + -readability-identifier-length, |
| 40 | + -clang-diagnostic-error |
| 41 | + -misc-unused-using-decls, |
| 42 | + -misc-unused-parameters, |
| 43 | + -misc-include-cleaner |
| 44 | +
|
| 45 | +WarningsAsErrors: '' |
| 46 | +HeaderFilterRegex: '.*' |
| 47 | +FormatStyle: none |
| 48 | + |
| 49 | +CheckOptions: |
| 50 | + - key: readability-identifier-naming.ClassCase |
| 51 | + value: CamelCase |
| 52 | + - key: readability-identifier-naming.VariableCase |
| 53 | + value: lower_case |
| 54 | + - key: readability-identifier-naming.PrivateMemberSuffix |
| 55 | + value: _ |
| 56 | + - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
| 57 | + value: true |
| 58 | + - key: bugprone-dangling-handle.HandleClasses |
| 59 | + value: 'std::basic_string_view;std::span' |
| 60 | + - key: cert-dcl58-cpp.IgnoreMacros |
| 61 | + value: true |
| 62 | + - key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField |
| 63 | + value: true |
| 64 | + - key: bugprone-suspicious-string-compare.WarnOnImplicitComparison |
| 65 | + value: true |
| 66 | + - key: bugprone-argument-comment.StrictMode |
| 67 | + value: true |
| 68 | + - key: bugprone-easily-swappable-parameters.QualifiersMix |
| 69 | + value: true |
| 70 | + - key: bugprone-misplaced-widening-cast.CheckImplicitCasts |
| 71 | + value: true |
| 72 | + - key: bugprone-sizeof-expression.WarnOnSizeOfConstant |
| 73 | + value: true |
| 74 | + - key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression |
| 75 | + value: true |
| 76 | + - key: bugprone-suspicious-enum-usage.StrictMode |
| 77 | + value: true |
| 78 | + - key: bugprone-suspicious-missing-comma.RatioThreshold |
| 79 | + value: 0.5 |
| 80 | + - key: bugprone-suspicious-string-compare.StringCompareLikeFunctions |
| 81 | + value: 'strcmp;strncmp' |
| 82 | + - key: cppcoreguidelines-narrowing-conversions.PedanticMode |
| 83 | + value: true |
0 commit comments