|
1 |
| -Checks: ' |
| 1 | +Checks: '-*, |
2 | 2 | bugprone-*,
|
3 |
| - cert-*, |
| 3 | + -bugprone-bad-signal-to-kill-thread, |
| 4 | + -bugprone-no-escape, |
| 5 | + -bugprone-posix-return, |
| 6 | + -bugprone-signal-handler, |
| 7 | + cert-non-aliased-only-*, |
| 8 | + cert-dcl21-cpp, |
| 9 | + cert-dcl50-cpp, |
| 10 | + cert-dcl58-cpp, |
| 11 | + -cert-env33-c, |
| 12 | + cert-err34-c, |
| 13 | + cert-err52-cpp, |
| 14 | + cert-err58-cpp, |
| 15 | + cert-err60-cpp, |
| 16 | + -cert-exp42-c, |
| 17 | + cert-flp30-c, |
| 18 | + -cert-flp37-c, |
| 19 | + cert-mem57-cpp, |
| 20 | + cert-msc50-cpp, |
| 21 | + cert-msc51-cpp, |
| 22 | + cert-oop57-cpp, |
| 23 | + cert-oop58-cpp, |
4 | 24 | clang-analyzer-*,
|
5 | 25 | clang-diagnostic-*,
|
6 | 26 | -clang-diagnostic-gnu-zero-variadic-macro-arguments,
|
7 | 27 | -clang-diagnostic-language-extension-token,
|
8 |
| - cppcoreguidelines-*, |
9 |
| - -cppcoreguidelines-avoid-c-arrays, |
| 28 | + concurrency-*, |
| 29 | + -concurrency-thread-canceltype-asynchronous, |
| 30 | + cppcoreguidelines-non-aliased-only-*, |
| 31 | + cppcoreguidelines-avoid-goto, |
| 32 | + cppcoreguidelines-avoid-non-const-global-variables, |
| 33 | + cppcoreguidelines-init-variables, |
| 34 | + cppcoreguidelines-interfaces-global-init, |
| 35 | + -cppcoreguidelines-macro-usage, |
| 36 | + cppcoreguidelines-narrowing-conversions, |
| 37 | + cppcoreguidelines-no-malloc, |
10 | 38 | -cppcoreguidelines-owning-memory,
|
11 |
| - -cppcoreguidelines-pro-type-reinterpret-cast, |
12 |
| - -cppcoreguidelines-pro-type-union-access, |
| 39 | + cppcoreguidelines-prefer-member-initializer, |
13 | 40 | -cppcoreguidelines-pro-bounds-*,
|
14 |
| - google-*, |
15 |
| - -google-readability-*, |
16 |
| - -google-runtime-*, |
17 |
| - hicpp-avoid-goto, |
18 |
| - hicpp-exception-baseclass, |
19 |
| - hicpp-multiway-paths-covered, |
20 |
| - -hicpp-no-assembler, |
21 |
| - hicpp-signed-bitwise, |
22 |
| - llvm-*, |
23 |
| - -llvm-header-guard, |
24 |
| - -llvm-qualified-auto, |
| 41 | + -cppcoreguidelines-pro-type-*, |
| 42 | + cppcoreguidelines-pro-type-const-cast, |
| 43 | + cppcoreguidelines-pro-type-cstyle-cast, |
| 44 | + cppcoreguidelines-pro-type-member-init, |
| 45 | + cppcoreguidelines-pro-type-static-cast-downcast, |
| 46 | + cppcoreguidelines-pro-type-vararg, |
| 47 | + cppcoreguidelines-slicing, |
| 48 | + cppcoreguidelines-special-member-functions, |
| 49 | + cppcoreguidelines-virtual-class-destructor, |
| 50 | + google-non-aliased-only-*, |
| 51 | + google-build-explicit-make-pair, |
| 52 | + google-build-namespaces, |
| 53 | + google-build-using-namespace, |
| 54 | + google-default-arguments, |
| 55 | + google-explicit-constructor, |
| 56 | + google-global-names-in-headers, |
| 57 | + google-upgrade-googletest-case, |
| 58 | + hicpp-non-aliased-only-*, |
| 59 | + hicpp-exception-baseclass, |
| 60 | + hicpp-multiway-paths-covered, |
| 61 | + hicpp-signed-bitwise, |
| 62 | + llvm-namespace-comment, |
25 | 63 | misc-*,
|
| 64 | + -misc-misplaced-const, |
| 65 | + -misc-no-recursion, |
26 | 66 | modernize-*,
|
27 | 67 | -modernize-avoid-c-arrays,
|
| 68 | + -modernize-return-braced-init-list, |
28 | 69 | -modernize-use-auto,
|
29 | 70 | -modernize-use-trailing-return-type,
|
30 | 71 | performance-*,
|
31 | 72 | readability-*,
|
| 73 | + -readability-function-cognitive-complexity, |
32 | 74 | -readability-function-size,
|
33 |
| - -readability-qualified-auto, |
| 75 | + -readability-identifier-length, |
34 | 76 | -readability-redundant-access-specifiers'
|
35 | 77 | WarningsAsErrors: ''
|
36 |
| -HeaderFilterRegex: 'm3c[\/\\](src|include)[\/\\].*' |
| 78 | +HeaderFilterRegex: '.*' |
37 | 79 | ExtraArgsBefore: [
|
38 |
| - '--system-header-prefix=lib/', '-xc++', '-std=c++20', |
39 |
| - '-WCL4', '-Wpedantic', '-Wthread-safety', '-Wmicrosoft', '-Wdocumentation', '-Wdocumentation-pedantic', '-Wtautological-compare', |
40 | 80 | '-fms-extensions', '-fms-compatibility', '-D_CRT_USE_BUILTIN_OFFSETOF',
|
41 |
| - '-fno-delayed-template-parsing', '-fcomment-block-commands=internal,hideinitializer', |
42 |
| - '-Im3c/include', '-Ilib/fmt/include', '-Ilib/llamalog/include', |
43 |
| - '-DUNICODE', '-D_UNICODE', '-DNOMINMAX', '-DWIN32_LEAN_AND_MEAN' |
| 81 | + '-WCL4', '-Wpedantic', '-Wthread-safety', '-Wmicrosoft', '-Wdocumentation', '-Wdocumentation-pedantic', |
| 82 | + '-fno-delayed-template-parsing', '/clang:-fcomment-block-commands=internal,hideinitializer', |
| 83 | + '-DWIN32_LEAN_AND_MEAN=1', '-DNOMINMAX=1' |
44 | 84 | ]
|
45 | 85 | CheckOptions:
|
| 86 | + - key: bugprone-argument-comment.StrictMode |
| 87 | + value: 1 |
46 | 88 | - key: bugprone-assert-side-effect.AssertMacros
|
47 | 89 | value: 'assert,_assert,_wassert,_ASSERT,_ASSERTE,_ASSERT_EXPR'
|
48 | 90 | - key: bugprone-assert-side-effect.CheckFunctionCalls
|
49 |
| - value: '1' |
| 91 | + value: 1 |
| 92 | + - key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression |
| 93 | + value: 1 |
50 | 94 | - key: bugprone-suspicious-enum-usage.StrictMode
|
51 |
| - value: '1' |
| 95 | + value: 1 |
| 96 | + - key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison |
| 97 | + value: 1 |
52 | 98 | - key: cppcoreguidelines-narrowing-conversions.PedanticMode
|
53 |
| - value: '1' |
| 99 | + value: 1 |
54 | 100 | - key: hicpp-multiway-paths-covered.WarnOnMissingElse
|
55 |
| - value: '1' |
| 101 | + value: 1 |
56 | 102 | - key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
|
57 |
| - value: '1' |
| 103 | + value: 1 |
| 104 | + - key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries |
| 105 | + value: 0 |
58 | 106 | - key: misc-unused-parameters.StrictMode
|
59 |
| - value: '1' |
60 |
| - - key: modernize-use-override.IgnoreDestructors |
61 |
| - value: '1' |
| 107 | + value: 1 |
62 | 108 | - key: performance-inefficient-string-concatenation.StrictMode
|
63 |
| - value: '1' |
64 |
| - - key: readability-braces-around-statements.ShortStatementLines |
65 |
| - value: '0' |
| 109 | + value: 1 |
| 110 | + |
| 111 | + - key: readability-identifier-naming.NamespaceCase |
| 112 | + value: lower_case |
| 113 | + |
| 114 | + - key: readability-identifier-naming.FunctionCase |
| 115 | + value: aNy_CasE |
| 116 | + |
| 117 | + - key: readability-identifier-naming.VariableCase |
| 118 | + value: camelBack |
| 119 | + - key: readability-identifier-naming.StaticVariableCase |
| 120 | + value: camelBack |
| 121 | + |
| 122 | + - key: readability-identifier-naming.StaticConstantCase |
| 123 | + value: CamelCase |
| 124 | + - key: readability-identifier-naming.StaticConstantPrefix |
| 125 | + value: 'k' |
| 126 | + - key: readability-identifier-naming.ConstexprVariableCase |
| 127 | + value: CamelCase |
| 128 | + - key: readability-identifier-naming.ConstexprVariablePrefix |
| 129 | + value: 'k' |
| 130 | + - key: readability-identifier-naming.ConstexprVariableIgnoredRegexp |
| 131 | + value: '^is_[A-Za-z0-9_]+_v$' |
| 132 | + - key: readability-identifier-naming.GlobalConstantCase |
| 133 | + value: CamelCase |
| 134 | + - key: readability-identifier-naming.GlobalConstantPrefix |
| 135 | + value: 'k' |
| 136 | + |
66 | 137 | - key: readability-identifier-naming.ClassCase
|
67 |
| - value: 'lower_case' |
| 138 | + value: aNy_CasE |
68 | 139 | - key: readability-identifier-naming.StructCase
|
69 |
| - value: 'lower_case' |
| 140 | + value: aNy_CasE |
70 | 141 | - key: readability-identifier-naming.UnionCase
|
71 |
| - value: 'lower_case' |
| 142 | + value: aNy_CasE |
| 143 | + - key: readability-identifier-naming.EnumCase |
| 144 | + value: CamelCase |
| 145 | + - key: readability-identifier-naming.EnumConstantCase |
| 146 | + value: CamelCase |
| 147 | + - key: readability-identifier-naming.EnumConstantPrefix |
| 148 | + value: 'k' |
| 149 | + - key: readability-identifier-naming.ScopedEnumConstantCase |
| 150 | + value: CamelCase |
| 151 | + - key: readability-identifier-naming.ScopedEnumConstantPrefix |
| 152 | + value: 'k' |
72 | 153 | - key: readability-identifier-naming.TypeAliasCase
|
73 |
| - value: 'lower_case' |
| 154 | + value: aNy_CasE |
74 | 155 | - key: readability-identifier-naming.TypedefCase
|
75 |
| - value: 'lower_case' |
| 156 | + value: aNy_CasE |
| 157 | + |
76 | 158 | - key: readability-identifier-naming.MemberCase
|
77 |
| - value: 'camelBack' |
| 159 | + value: camelBack |
78 | 160 | - key: readability-identifier-naming.MemberPrefix
|
79 | 161 | value: 'm_'
|
80 |
| - - key: readability-identifier-naming.ConstantMemberCase |
81 |
| - value: 'camelBack' |
82 |
| - - key: readability-identifier-naming.ConstantMemberPrefix |
83 |
| - value: 'm_' |
84 | 162 | - key: readability-identifier-naming.PublicMemberCase
|
85 |
| - value: 'camelBack' |
| 163 | + value: camelBack |
86 | 164 | - key: readability-identifier-naming.PublicMemberPrefix
|
87 | 165 | value: ''
|
88 | 166 | - key: readability-identifier-naming.ClassMemberCase
|
89 |
| - value: 'camelBack' |
| 167 | + value: camelBack |
90 | 168 | - key: readability-identifier-naming.ClassMemberPrefix
|
91 |
| - value: 'm_' |
92 |
| - - key: readability-identifier-naming.ClassConstantCase |
93 |
| - value: 'CamelCase' |
94 |
| - - key: readability-identifier-naming.ClassConstantPrefix |
95 |
| - value: 'k' |
96 |
| - - key: readability-identifier-naming.EnumCase |
97 |
| - value: 'lower_case' |
98 |
| - - key: readability-identifier-naming.EnumConstantCase |
99 |
| - value: 'CamelCase' |
100 |
| - - key: readability-identifier-naming.EnumConstantPrefix |
101 |
| - value: 'k' |
102 |
| - - key: readability-identifier-naming.FunctionCase |
103 |
| - value: 'lower_case' |
104 |
| - - key: readability-identifier-naming.NamespaceCase |
105 |
| - value: 'lower_case' |
106 |
| - - key: readability-identifier-naming.VariableCase |
107 |
| - value: 'camelBack' |
108 |
| - - key: readability-identifier-naming.VariablePrefix |
109 |
| - value: '' |
110 |
| - - key: readability-identifier-naming.ConstantCase |
111 |
| - value: 'CamelCase' |
112 |
| - - key: readability-identifier-naming.ConstantPrefix |
113 |
| - value: 'k' |
114 |
| - - key: readability-identifier-naming.LocalVariableCase |
115 |
| - value: 'camelBack' |
116 |
| - - key: readability-identifier-naming.LocalVariablePrefix |
117 |
| - value: '' |
118 |
| - - key: readability-identifier-naming.LocalConstantCase |
119 |
| - value: 'camelBack' |
120 |
| - - key: readability-identifier-naming.LocalConstantPrefix |
121 |
| - value: '' |
122 |
| - - key: readability-identifier-naming.ParameterCase |
123 |
| - value: 'camelBack' |
124 |
| - - key: readability-identifier-naming.ParameterPrefix |
125 |
| - value: '' |
126 |
| - - key: readability-identifier-naming.ConstantParameterCase |
127 |
| - value: 'camelBack' |
128 |
| - - key: readability-identifier-naming.ConstantParameterPrefix |
129 |
| - value: '' |
130 |
| - - key: readability-identifier-naming.GlobalVariableCase |
131 |
| - value: 'camelBack' |
132 |
| - - key: readability-identifier-naming.GlobalVariablePrefix |
133 |
| - value: 'g_' |
134 |
| - - key: readability-identifier-naming.GlobalConstantCase |
135 |
| - value: 'CamelCase' |
136 |
| - - key: readability-identifier-naming.GlobalConstantPrefix |
137 |
| - value: 'k' |
138 |
| - - key: readability-identifier-naming.StaticVariableCase |
139 |
| - value: 'camelBack' |
140 |
| - - key: readability-identifier-naming.StaticVariablePrefix |
141 |
| - value: '' |
142 |
| - - key: readability-identifier-naming.StaticConstantCase |
143 |
| - value: 'CamelCase' |
144 |
| - - key: readability-identifier-naming.StaticConstantPrefix |
145 |
| - value: 'k' |
146 |
| - - key: readability-identifier-naming.GlobalPointerCase |
147 |
| - value: 'CamelCase' |
148 |
| - - key: readability-identifier-naming.GlobalPointerPrefix |
149 |
| - value: 'g_p' |
150 |
| - - key: readability-identifier-naming.GlobalConstantPointerCase |
151 |
| - value: 'CamelCase' |
152 |
| - - key: readability-identifier-naming.GlobalConstantPointerPrefix |
153 |
| - value: 'kp' |
| 169 | + value: 's_' |
| 170 | + |
154 | 171 | - key: readability-identifier-naming.TemplateParameterCase
|
155 |
| - value: 'CamelCase' |
| 172 | + value: CamelCase |
156 | 173 | - key: readability-identifier-naming.ValueTemplateParameterCase
|
157 |
| - value: 'CamelCase' |
| 174 | + value: CamelCase |
158 | 175 | - key: readability-identifier-naming.ValueTemplateParameterPrefix
|
159 | 176 | value: 'k'
|
160 | 177 | - key: readability-identifier-naming.ParameterPackCase
|
161 |
| - value: 'camelBack' |
| 178 | + value: camelBack |
| 179 | + - key: readability-identifier-naming.ParameterPackSuffix |
| 180 | + value: 's' |
| 181 | + - key: readability-identifier-naming.MacroDefinitionCase |
| 182 | + value: 'UPPER_CASE' |
| 183 | + |
162 | 184 | - key: readability-implicit-bool-conversion.AllowIntegerConditions
|
163 |
| - value: '1' |
| 185 | + value: 1 |
164 | 186 | - key: readability-implicit-bool-conversion.AllowPointerConditions
|
165 |
| - value: '1' |
| 187 | + value: 1 |
166 | 188 | - key: readability-inconsistent-declaration-parameter-name.Strict
|
167 |
| - value: '1' |
| 189 | + value: 1 |
| 190 | + - key: readability-magic-numbers.IgnorePowersOf2IntegerValues |
| 191 | + value: 1 |
168 | 192 | - key: readability-simplify-boolean-expr.ChainedConditionalReturn
|
169 |
| - value: '1' |
| 193 | + value: 1 |
170 | 194 | - key: readability-simplify-boolean-expr.ChainedConditionalAssignment
|
171 |
| - value: '1' |
| 195 | + value: 1 |
172 | 196 | - key: readability-uppercase-literal-suffix.NewSuffixes
|
173 |
| - value: 'L;LL;LU;LLU;u;ul;ull' |
| 197 | + value: 'L;LL;u;uL;uLL' |
0 commit comments