diff options
Diffstat (limited to '')
| -rw-r--r-- | .clang-tidy | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000..ecb3675 --- /dev/null +++ b/.clang-tidy | |||
| @@ -0,0 +1,144 @@ | |||
| 1 | --- | ||
| 2 | Checks: '-*, | ||
| 3 | bugprone-argument-comment, | ||
| 4 | bugprone-assert-side-effect, | ||
| 5 | bugprone-bad-signal-to-kill-thread, | ||
| 6 | bugprone-branch-clone, | ||
| 7 | bugprone-copy-constructor-init, | ||
| 8 | bugprone-dangling-handle, | ||
| 9 | bugprone-dynamic-static-initializers, | ||
| 10 | bugprone-fold-init-type, | ||
| 11 | bugprone-forward-declaration-namespace, | ||
| 12 | bugprone-forwarding-reference-overload, | ||
| 13 | bugprone-inaccurate-erase, | ||
| 14 | bugprone-incorrect-roundings, | ||
| 15 | bugprone-integer-division, | ||
| 16 | bugprone-lambda-function-name, | ||
| 17 | bugprone-macro-parentheses, | ||
| 18 | bugprone-macro-repeated-side-effects, | ||
| 19 | bugprone-misplaced-operator-in-strlen-in-alloc, | ||
| 20 | bugprone-misplaced-pointer-arithmetic-in-alloc, | ||
| 21 | bugprone-misplaced-widening-cast, | ||
| 22 | bugprone-move-forwarding-reference, | ||
| 23 | bugprone-multiple-statement-macro, | ||
| 24 | bugprone-no-escape, | ||
| 25 | bugprone-parent-virtual-call, | ||
| 26 | bugprone-posix-return, | ||
| 27 | bugprone-reserved-identifier, | ||
| 28 | bugprone-sizeof-container, | ||
| 29 | bugprone-sizeof-expression, | ||
| 30 | bugprone-spuriously-wake-up-functions, | ||
| 31 | bugprone-string-constructor, | ||
| 32 | bugprone-string-integer-assignment, | ||
| 33 | bugprone-string-literal-with-embedded-nul, | ||
| 34 | bugprone-suspicious-enum-usage, | ||
| 35 | bugprone-suspicious-include, | ||
| 36 | bugprone-suspicious-memset-usage, | ||
| 37 | bugprone-suspicious-missing-comma, | ||
| 38 | bugprone-suspicious-semicolon, | ||
| 39 | bugprone-suspicious-string-compare, | ||
| 40 | bugprone-suspicious-memory-comparison, | ||
| 41 | bugprone-suspicious-realloc-usage, | ||
| 42 | bugprone-swapped-arguments, | ||
| 43 | bugprone-terminating-continue, | ||
| 44 | bugprone-throw-keyword-missing, | ||
| 45 | bugprone-too-small-loop-variable, | ||
| 46 | bugprone-undefined-memory-manipulation, | ||
| 47 | bugprone-undelegated-constructor, | ||
| 48 | bugprone-unhandled-self-assignment, | ||
| 49 | bugprone-unused-raii, | ||
| 50 | bugprone-unused-return-value, | ||
| 51 | bugprone-use-after-move, | ||
| 52 | bugprone-virtual-near-miss, | ||
| 53 | cert-dcl21-cpp, | ||
| 54 | cert-dcl58-cpp, | ||
| 55 | cert-err34-c, | ||
| 56 | cert-err52-cpp, | ||
| 57 | cert-err60-cpp, | ||
| 58 | cert-flp30-c, | ||
| 59 | cert-msc50-cpp, | ||
| 60 | cert-msc51-cpp, | ||
| 61 | cert-str34-c, | ||
| 62 | cppcoreguidelines-interfaces-global-init, | ||
| 63 | cppcoreguidelines-narrowing-conversions, | ||
| 64 | cppcoreguidelines-pro-type-member-init, | ||
| 65 | cppcoreguidelines-pro-type-static-cast-downcast, | ||
| 66 | cppcoreguidelines-slicing, | ||
| 67 | google-default-arguments, | ||
| 68 | google-runtime-operator, | ||
| 69 | hicpp-exception-baseclass, | ||
| 70 | hicpp-multiway-paths-covered, | ||
| 71 | misc-misplaced-const, | ||
| 72 | misc-new-delete-overloads, | ||
| 73 | misc-non-copyable-objects, | ||
| 74 | misc-throw-by-value-catch-by-reference, | ||
| 75 | misc-unconventional-assign-operator, | ||
| 76 | misc-uniqueptr-reset-release, | ||
| 77 | modernize-avoid-bind, | ||
| 78 | modernize-concat-nested-namespaces, | ||
| 79 | modernize-deprecated-headers, | ||
| 80 | modernize-deprecated-ios-base-aliases, | ||
| 81 | modernize-loop-convert, | ||
| 82 | modernize-make-shared, | ||
| 83 | modernize-make-unique, | ||
| 84 | modernize-pass-by-value, | ||
| 85 | modernize-raw-string-literal, | ||
| 86 | modernize-redundant-void-arg, | ||
| 87 | modernize-replace-auto-ptr, | ||
| 88 | modernize-replace-disallow-copy-and-assign-macro, | ||
| 89 | modernize-replace-random-shuffle, | ||
| 90 | modernize-return-braced-init-list, | ||
| 91 | modernize-shrink-to-fit, | ||
| 92 | modernize-unary-static-assert, | ||
| 93 | modernize-use-auto, | ||
| 94 | modernize-use-bool-literals, | ||
| 95 | modernize-use-emplace, | ||
| 96 | modernize-use-equals-default, | ||
| 97 | modernize-use-equals-delete, | ||
| 98 | modernize-use-nodiscard, | ||
| 99 | modernize-use-noexcept, | ||
| 100 | modernize-use-nullptr, | ||
| 101 | modernize-use-override, | ||
| 102 | modernize-use-transparent-functors, | ||
| 103 | modernize-use-uncaught-exceptions, | ||
| 104 | mpi-buffer-deref, | ||
| 105 | mpi-type-mismatch, | ||
| 106 | openmp-use-default-none, | ||
| 107 | performance-faster-string-find, | ||
| 108 | performance-for-range-copy, | ||
| 109 | performance-implicit-conversion-in-loop, | ||
| 110 | performance-inefficient-algorithm, | ||
| 111 | performance-inefficient-string-concatenation, | ||
| 112 | performance-inefficient-vector-operation, | ||
| 113 | performance-move-const-arg, | ||
| 114 | performance-move-constructor-init, | ||
| 115 | performance-no-automatic-move, | ||
| 116 | performance-noexcept-move-constructor, | ||
| 117 | performance-trivially-destructible, | ||
| 118 | performance-type-promotion-in-math-fn, | ||
| 119 | performance-unnecessary-copy-initialization, | ||
| 120 | performance-unnecessary-value-param, | ||
| 121 | portability-simd-intrinsics, | ||
| 122 | readability-avoid-const-params-in-decls, | ||
| 123 | readability-const-return-type, | ||
| 124 | readability-container-size-empty, | ||
| 125 | readability-convert-member-functions-to-static, | ||
| 126 | readability-delete-null-pointer, | ||
| 127 | readability-deleted-default, | ||
| 128 | readability-inconsistent-declaration-parameter-name, | ||
| 129 | readability-make-member-function-const, | ||
| 130 | readability-misleading-indentation, | ||
| 131 | readability-misplaced-array-index, | ||
| 132 | readability-non-const-parameter, | ||
| 133 | readability-redundant-control-flow, | ||
| 134 | readability-redundant-declaration, | ||
| 135 | readability-redundant-function-ptr-dereference, | ||
| 136 | readability-redundant-smartptr-get, | ||
| 137 | readability-redundant-string-cstr, | ||
| 138 | readability-redundant-string-init, | ||
| 139 | readability-simplify-subscript-expr, | ||
| 140 | readability-static-accessed-through-instance, | ||
| 141 | readability-static-definition-in-anonymous-namespace, | ||
| 142 | readability-string-compare, | ||
| 143 | readability-uniqueptr-delete-release, | ||
| 144 | readability-use-anyofallof' \ No newline at end of file | ||
