dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 1 | FormatStyle: file |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 2 | Checks: "-*,\ |
| 3 | abseil-*,\ |
| 4 | -abseil-string-find-startswith,\ |
| 5 | -abseil-string-find-str-contains,\ |
| 6 | bugprone-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 7 | -bugprone-branch-clone,\ |
| 8 | -bugprone-copy-constructor-init,\ |
| 9 | -bugprone-easily-swappable-parameters,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 10 | -bugprone-forwarding-reference-overload,\ |
| 11 | -bugprone-implicit-widening-of-multiplication-result,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 12 | -bugprone-lambda-function-name,\ |
| 13 | -bugprone-macro-parentheses,\ |
| 14 | -bugprone-misplaced-widening-cast,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 15 | -bugprone-narrowing-conversions,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 16 | -bugprone-parent-virtual-call,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 17 | -bugprone-reserved-identifier,\ |
| 18 | -bugprone-signed-char-misuse,\ |
| 19 | -bugprone-sizeof-expression,\ |
| 20 | -bugprone-string-constructor,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 21 | -bugprone-suspicious-include,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 22 | -bugprone-too-small-loop-variable,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 23 | -bugprone-unhandled-self-assignment,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 24 | -bugprone-use-after-move,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 25 | cert-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 26 | -cert-dcl16-c,\ |
| 27 | -cert-dcl21-cpp,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 28 | -cert-dcl37-c,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 29 | -cert-dcl50-cpp,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 30 | -cert-dcl51-cpp,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 31 | -cert-dcl54-cpp,\ |
| 32 | -cert-dcl58-cpp,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 33 | -cert-err33-c,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 34 | -cert-msc30-c,\ |
| 35 | -cert-msc32-c,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 36 | -cert-msc50-cpp,\ |
| 37 | -cert-msc51-cpp,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 38 | -cert-oop54-cpp,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 39 | -cert-str34-c,\ |
| 40 | -cert-str34-c,\ |
| 41 | -cert-str34-c,\ |
| 42 | -cert-str34-c,\ |
| 43 | -clang-analyzer-*,\ |
| 44 | concurrency-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 45 | -concurrency-mt-unsafe,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 46 | cppcoreguidelines-*,\ |
| 47 | -concurrency-mt-unsafe,\ |
| 48 | -cppcoreguidelines-avoid-c-arrays,\ |
| 49 | -cppcoreguidelines-avoid-goto,\ |
| 50 | -cppcoreguidelines-avoid-magic-numbers,\ |
| 51 | -cppcoreguidelines-avoid-non-const-global-variables,\ |
| 52 | -cppcoreguidelines-c-copy-assignment-signature,\ |
| 53 | -cppcoreguidelines-explicit-virtual-functions,\ |
| 54 | -cppcoreguidelines-init-variables,\ |
| 55 | -cppcoreguidelines-interfaces-global-init,\ |
| 56 | -cppcoreguidelines-macro-usage,\ |
| 57 | -cppcoreguidelines-narrowing-conversions,\ |
| 58 | -cppcoreguidelines-no-malloc,\ |
| 59 | -cppcoreguidelines-non-private-member-variables-in-classes,\ |
| 60 | -cppcoreguidelines-owning-memory,\ |
| 61 | -cppcoreguidelines-prefer-member-initializer,\ |
| 62 | -cppcoreguidelines-pro-bounds-array-to-pointer-decay,\ |
| 63 | -cppcoreguidelines-pro-bounds-constant-array-index,\ |
| 64 | -cppcoreguidelines-pro-bounds-pointer-arithmetic,\ |
| 65 | -cppcoreguidelines-pro-type-const-cast,\ |
| 66 | -cppcoreguidelines-pro-type-member-init,\ |
| 67 | -cppcoreguidelines-pro-type-reinterpret-cast,\ |
| 68 | -cppcoreguidelines-pro-type-static-cast-downcast,\ |
| 69 | -cppcoreguidelines-pro-type-union-access,\ |
| 70 | -cppcoreguidelines-pro-type-vararg,\ |
| 71 | -cppcoreguidelines-slicing,\ |
| 72 | -cppcoreguidelines-special-member-functions,\ |
| 73 | -cppcoreguidelines-virtual-class-destructor,\ |
| 74 | google-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 75 | -google-default-arguments,\ |
| 76 | -google-explicit-constructor,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 77 | -google-readability-avoid-underscore-in-googletest-name,\ |
| 78 | -google-readability-braces-around-statements,\ |
| 79 | -google-readability-casting,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 80 | -google-readability-namespace-comments,\ |
| 81 | -google-readability-todo,\ |
| 82 | -google-runtime-int,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 83 | -google-upgrade-googletest-case,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 84 | misc-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 85 | -misc-misplaced-const,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 86 | -misc-new-delete-overloads,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 87 | -misc-non-private-member-variables-in-classes,\ |
| 88 | -misc-no-recursion,\ |
| 89 | -misc-redundant-expression,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 90 | -misc-uniqueptr-reset-release,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 91 | -misc-unconventional-assign-operator,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 92 | -misc-unused-parameters,\ |
| 93 | -misc-unused-using-decls,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 94 | modernize-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 95 | -modernize-avoid-c-arrays,\ |
| 96 | -modernize-concat-nested-namespaces,\ |
| 97 | -modernize-deprecated-headers,\ |
| 98 | -modernize-loop-convert,\ |
| 99 | -modernize-macro-to-enum,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 100 | -modernize-make-unique,\ |
| 101 | -modernize-pass-by-value,\ |
| 102 | -modernize-raw-string-literal,\ |
| 103 | -modernize-redundant-void-arg,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 104 | -modernize-return-braced-init-list,\ |
| 105 | -modernize-unary-static-assert,\ |
| 106 | -modernize-use-auto,\ |
| 107 | -modernize-use-bool-literals,\ |
| 108 | -modernize-use-default-member-init,\ |
| 109 | -modernize-use-emplace,\ |
| 110 | -modernize-use-equals-default,\ |
| 111 | -modernize-use-equals-delete,\ |
| 112 | -modernize-use-nodiscard,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 113 | -modernize-use-nullptr,\ |
| 114 | -modernize-use-override,\ |
| 115 | -modernize-use-trailing-return-type,\ |
| 116 | -modernize-use-transparent-functors,\ |
| 117 | -modernize-use-using,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 118 | performance-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 119 | -performance-faster-string-find,\ |
| 120 | -performance-for-range-copy,\ |
| 121 | -performance-inefficient-algorithm,\ |
| 122 | -performance-inefficient-string-concatenation,\ |
| 123 | -performance-inefficient-vector-operation,\ |
| 124 | -performance-move-const-arg,\ |
| 125 | -performance-no-automatic-move,\ |
| 126 | -performance-noexcept-move-constructor,\ |
| 127 | -performance-no-int-to-ptr,\ |
| 128 | -performance-trivially-destructible,\ |
| 129 | -performance-unnecessary-copy-initialization,\ |
| 130 | -performance-unnecessary-value-param,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 131 | portability-*,\ |
| 132 | readability-*,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 133 | -readability-avoid-const-params-in-decls,\ |
| 134 | -readability-braces-around-statements,\ |
| 135 | -readability-const-return-type,\ |
| 136 | -readability-container-data-pointer,\ |
| 137 | -readability-container-size-empty,\ |
| 138 | -readability-convert-member-functions-to-static,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 139 | -readability-else-after-return,\ |
| 140 | -readability-function-cognitive-complexity,\ |
| 141 | -readability-identifier-length,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 142 | -readability-implicit-bool-conversion,\ |
| 143 | -readability-inconsistent-declaration-parameter-name,\ |
| 144 | -readability-isolate-declaration,\ |
| 145 | -readability-magic-numbers,\ |
| 146 | -readability-make-member-function-const,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 147 | -readability-named-parameter,\ |
| 148 | -readability-non-const-parameter,\ |
| 149 | -readability-qualified-auto,\ |
| 150 | -readability-redundant-access-specifiers,\ |
| 151 | -readability-redundant-control-flow,\ |
| 152 | -readability-redundant-declaration,\ |
| 153 | -readability-redundant-member-init,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 154 | -readability-redundant-smartptr-get,\ |
| 155 | -readability-redundant-string-cstr,\ |
| 156 | -readability-redundant-string-init,\ |
| 157 | -readability-simplify-boolean-expr,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 158 | -readability-static-accessed-through-instance,\ |
| 159 | -readability-static-definition-in-anonymous-namespace,\ |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 160 | -readability-suspicious-call-argument,\ |
| 161 | -readability-uppercase-literal-suffix,\ |
dan sinclair | d7d55e4 | 2022-05-30 14:50:58 +0000 | [diff] [blame] | 162 | -readability-use-anyofallof |
dan sinclair | 93cf346 | 2022-05-16 12:58:24 +0000 | [diff] [blame] | 163 | " |