| 1 |
Checks: >- |
| 2 |
-*, |
| 3 |
bugprone-*, |
| 4 |
-bugprone-easily-swappable-parameters, |
| 5 |
-bugprone-lambda-function-name, |
| 6 |
-bugprone-macro-parentheses, |
| 7 |
-bugprone-narrowing-conversions, |
| 8 |
-bugprone-reserved-identifier, |
| 9 |
clang-diagnostic-*, |
| 10 |
clang-analyzer-.*, |
| 11 |
cppcoreguidelines-avoid-goto, |
| 12 |
cppcoreguidelines-interfaces-global-init, |
| 13 |
cppcoreguidelines-no-malloc, |
| 14 |
cppcoreguidelines-prefer-member-initializer, |
| 15 |
cppcoreguidelines-pro-type-member-init, |
| 16 |
cppcoreguidelines-pro-type-static-cast-downcast, |
| 17 |
cppcoreguidelines-slicing, |
| 18 |
cppcoreguidelines-special-member-functions, |
| 19 |
performance-*, |
| 20 |
google-default-arguments, |
| 21 |
google-global-names-in-headers, |
| 22 |
google-explicit-constructor, |
| 23 |
google-readability-casting, |
| 24 |
misc-*, |
| 25 |
-misc-const-correctness, |
| 26 |
-misc-include-cleaner, |
| 27 |
-misc-no-recursion, |
| 28 |
-misc-non-private-member-variables-in-classes, |
| 29 |
-misc-use-anonymous-namespace, |
| 30 |
modernize-*, |
| 31 |
-modernize-concat-nested-namespaces, |
| 32 |
-modernize-return-braced-init-list, |
| 33 |
-modernize-use-auto, |
| 34 |
-modernize-use-integer-sign-comparison, |
| 35 |
-modernize-use-ranges, |
| 36 |
-modernize-use-trailing-return-type, |
| 37 |
-modernize-use-nodiscard, |
| 38 |
readability-container-size-empty, |
| 39 |
readability-delete-null-pointer, |
| 40 |
readability-duplicate-include, |
| 41 |
readability-misplaced-array-index, |
| 42 |
readability-non-const-parameter, |
| 43 |
readability-redundant*, |
| 44 |
readability-simplify*, |
| 45 |
readability-static-accessed-through-instance, |
| 46 |
readability-static-definition-in-anonymous-namespace, |
| 47 |
readability-string-compare, |
| 48 |
readability-suspicious-call-argument, |
| 49 |
readability-uniqueptr-delete-release, |
| 50 |
-readability-redundant-access-specifiers, |
| 51 |
|
| 52 |
CheckOptions: |
| 53 |
# `cppcoreguidelines-special-member-functions` is enabled, refer to https://en.cppreference.com/w/cpp/language/rule_of_three |
| 54 |
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
| 55 |
value: True |
| 56 |
- key: performance-move-const-arg.CheckTriviallyCopyableMove |
| 57 |
value: False |
| 58 |
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted |
| 59 |
value: True |