2 bugprone-copy-constructor-init,
3 bugprone-dangling-handle,
4 bugprone-infinite-loop,
5 bugprone-stringview-nullptr,
6 bugprone-use-after-move,
9 llvm-namespace-comment,
11 misc-definitions-in-headers,
13 misc-non-copyable-objects,
14 misc-uniqueptr-reset-release,
16 modernize-loop-convert,
17 modernize-redundant-void-arg,
18 modernize-use-override,
20 readability-duplicate-include,
21 readability-identifier-naming,
22 readability-function-cognitive-complexity,
23 readability-function-size,
24 readability-misplaced-array-index,
25 readability-redundant-control-flow,
26 readability-redundant-function-ptr-dereference,
27 readability-redundant-preprocessor,
28 readability-simplify-boolean-expr,
29 readability-simplify-subscript-expr,
30 readability-uniqueptr-delete-release,
33 - key: readability-function-cognitive-complexity.Threshold
34 value: 143 # TODO: bring that number down
35 - key: readability-function-size.LineThreshold
36 value: 194 # TODO: bring that number down
37 - key: readability-identifier-naming.GetConfigPerFile
39 - key: readability-identifier-naming.ParameterCase
41 - key: readability-identifier-naming.ParameterPrefix
43 - key: readability-identifier-naming.PrivateMemberCase
45 - key: readability-identifier-naming.PrivateMemberPrefix
47 - key: readability-identifier-naming.PrivateMemberSuffix
49 - key: readability-identifier-naming.LocalVariableCase
51 - key: readability-identifier-naming.LocalVariablePrefix
53 - key: readability-identifier-naming.TemplateParameterCase
55 - key: readability-identifier-naming.TemplateParameterPrefix
57 - key: readability-identifier-naming.TemplateParameterIgnoredRegexp
58 value: (.*\:auto|expr-type) # This is https://llvm.org/PR56464
59 - key: readability-identifier-naming.ValueTemplateParameterIgnoredRegexp # TODO: enforce naming of variable parameters
62 # TODO: investigate these checks
63 # bugprone-branch-clone,
64 # bugprone-macro-parentheses,
65 # cppcoreguidelines-prefer-member-initializer,
66 # misc-unused-parameters,
67 # modernize-use-bool-literals,
68 # modernize-use-default-member-init,
69 # modernize-use-equals-default,
70 # modernize-use-equals-delete,
71 # modernize-use-nullptr,
72 # portability-restrict-system-includes,
73 # readability-function-cognitive-complexity,
74 # readability-implicit-bool-conversion,
75 # readability-isolate-declaration,
76 # readability-redundant-access-specifiers,
77 # readability-redundant-declaration,
78 # readability-redundant-member-init,