blob: 1dc5f3b8e50b43627622ffad36da77a75d183018 [file] [log] [blame]
dan sinclair93cf3462022-05-16 12:58:24 +00001FormatStyle: file
dan sinclaird7d55e42022-05-30 14:50:58 +00002Checks: "-*,\
3 abseil-*,\
4 -abseil-string-find-startswith,\
5 -abseil-string-find-str-contains,\
6 bugprone-*,\
dan sinclair93cf3462022-05-16 12:58:24 +00007 -bugprone-branch-clone,\
8 -bugprone-copy-constructor-init,\
9 -bugprone-easily-swappable-parameters,\
dan sinclair93cf3462022-05-16 12:58:24 +000010 -bugprone-forwarding-reference-overload,\
11 -bugprone-implicit-widening-of-multiplication-result,\
dan sinclair93cf3462022-05-16 12:58:24 +000012 -bugprone-lambda-function-name,\
13 -bugprone-macro-parentheses,\
14 -bugprone-misplaced-widening-cast,\
dan sinclair93cf3462022-05-16 12:58:24 +000015 -bugprone-narrowing-conversions,\
dan sinclair93cf3462022-05-16 12:58:24 +000016 -bugprone-parent-virtual-call,\
dan sinclair93cf3462022-05-16 12:58:24 +000017 -bugprone-reserved-identifier,\
18 -bugprone-signed-char-misuse,\
19 -bugprone-sizeof-expression,\
20 -bugprone-string-constructor,\
dan sinclair93cf3462022-05-16 12:58:24 +000021 -bugprone-suspicious-include,\
dan sinclair93cf3462022-05-16 12:58:24 +000022 -bugprone-too-small-loop-variable,\
dan sinclair93cf3462022-05-16 12:58:24 +000023 -bugprone-unhandled-self-assignment,\
dan sinclair93cf3462022-05-16 12:58:24 +000024 -bugprone-use-after-move,\
dan sinclaird7d55e42022-05-30 14:50:58 +000025 cert-*,\
dan sinclair93cf3462022-05-16 12:58:24 +000026 -cert-dcl16-c,\
27 -cert-dcl21-cpp,\
dan sinclaird7d55e42022-05-30 14:50:58 +000028 -cert-dcl37-c,\
dan sinclair93cf3462022-05-16 12:58:24 +000029 -cert-dcl50-cpp,\
dan sinclaird7d55e42022-05-30 14:50:58 +000030 -cert-dcl51-cpp,\
dan sinclair93cf3462022-05-16 12:58:24 +000031 -cert-dcl54-cpp,\
32 -cert-dcl58-cpp,\
dan sinclair93cf3462022-05-16 12:58:24 +000033 -cert-err33-c,\
dan sinclair93cf3462022-05-16 12:58:24 +000034 -cert-msc30-c,\
35 -cert-msc32-c,\
dan sinclaird7d55e42022-05-30 14:50:58 +000036 -cert-msc50-cpp,\
37 -cert-msc51-cpp,\
dan sinclair93cf3462022-05-16 12:58:24 +000038 -cert-oop54-cpp,\
dan sinclaird7d55e42022-05-30 14:50:58 +000039 -cert-str34-c,\
40 -cert-str34-c,\
41 -cert-str34-c,\
42 -cert-str34-c,\
43 -clang-analyzer-*,\
44 concurrency-*,\
dan sinclair93cf3462022-05-16 12:58:24 +000045 -concurrency-mt-unsafe,\
dan sinclaird7d55e42022-05-30 14:50:58 +000046 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 sinclair93cf3462022-05-16 12:58:24 +000075 -google-default-arguments,\
76 -google-explicit-constructor,\
dan sinclair93cf3462022-05-16 12:58:24 +000077 -google-readability-avoid-underscore-in-googletest-name,\
78 -google-readability-braces-around-statements,\
79 -google-readability-casting,\
dan sinclair93cf3462022-05-16 12:58:24 +000080 -google-readability-namespace-comments,\
81 -google-readability-todo,\
82 -google-runtime-int,\
dan sinclair93cf3462022-05-16 12:58:24 +000083 -google-upgrade-googletest-case,\
dan sinclaird7d55e42022-05-30 14:50:58 +000084 misc-*,\
dan sinclair93cf3462022-05-16 12:58:24 +000085 -misc-misplaced-const,\
dan sinclaird7d55e42022-05-30 14:50:58 +000086 -misc-new-delete-overloads,\
dan sinclair93cf3462022-05-16 12:58:24 +000087 -misc-non-private-member-variables-in-classes,\
88 -misc-no-recursion,\
89 -misc-redundant-expression,\
dan sinclair93cf3462022-05-16 12:58:24 +000090 -misc-uniqueptr-reset-release,\
dan sinclaird7d55e42022-05-30 14:50:58 +000091 -misc-unconventional-assign-operator,\
dan sinclair93cf3462022-05-16 12:58:24 +000092 -misc-unused-parameters,\
93 -misc-unused-using-decls,\
dan sinclaird7d55e42022-05-30 14:50:58 +000094 modernize-*,\
dan sinclair93cf3462022-05-16 12:58:24 +000095 -modernize-avoid-c-arrays,\
96 -modernize-concat-nested-namespaces,\
97 -modernize-deprecated-headers,\
98 -modernize-loop-convert,\
99 -modernize-macro-to-enum,\
dan sinclair93cf3462022-05-16 12:58:24 +0000100 -modernize-make-unique,\
101 -modernize-pass-by-value,\
102 -modernize-raw-string-literal,\
103 -modernize-redundant-void-arg,\
dan sinclair93cf3462022-05-16 12:58:24 +0000104 -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 sinclair93cf3462022-05-16 12:58:24 +0000113 -modernize-use-nullptr,\
114 -modernize-use-override,\
115 -modernize-use-trailing-return-type,\
116 -modernize-use-transparent-functors,\
117 -modernize-use-using,\
dan sinclaird7d55e42022-05-30 14:50:58 +0000118 performance-*,\
dan sinclair93cf3462022-05-16 12:58:24 +0000119 -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 sinclaird7d55e42022-05-30 14:50:58 +0000131 portability-*,\
132 readability-*,\
dan sinclair93cf3462022-05-16 12:58:24 +0000133 -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 sinclair93cf3462022-05-16 12:58:24 +0000139 -readability-else-after-return,\
140 -readability-function-cognitive-complexity,\
141 -readability-identifier-length,\
dan sinclair93cf3462022-05-16 12:58:24 +0000142 -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 sinclair93cf3462022-05-16 12:58:24 +0000147 -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 sinclair93cf3462022-05-16 12:58:24 +0000154 -readability-redundant-smartptr-get,\
155 -readability-redundant-string-cstr,\
156 -readability-redundant-string-init,\
157 -readability-simplify-boolean-expr,\
dan sinclair93cf3462022-05-16 12:58:24 +0000158 -readability-static-accessed-through-instance,\
159 -readability-static-definition-in-anonymous-namespace,\
dan sinclair93cf3462022-05-16 12:58:24 +0000160 -readability-suspicious-call-argument,\
161 -readability-uppercase-literal-suffix,\
dan sinclaird7d55e42022-05-30 14:50:58 +0000162 -readability-use-anyofallof
dan sinclair93cf3462022-05-16 12:58:24 +0000163 "