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-nullptr,
19 modernize-use-override,
21 readability-duplicate-include,
22 readability-identifier-naming,
23 readability-function-cognitive-complexity,
24 readability-function-size,
25 readability-misplaced-array-index,
26 readability-redundant-control-flow,
27 readability-redundant-function-ptr-dereference,
28 readability-redundant-preprocessor,
29 readability-simplify-boolean-expr,
30 readability-simplify-subscript-expr,
31 readability-uniqueptr-delete-release,
34 - key: readability-function-cognitive-complexity.Threshold
35 value: 143 # TODO: bring that number down
36 - key: readability-function-size.LineThreshold
37 value: 194 # TODO: bring that number down
38 - key: readability-identifier-naming.GetConfigPerFile
40 - key: readability-identifier-naming.ParameterCase
42 - key: readability-identifier-naming.ParameterPrefix
44 - key: readability-identifier-naming.PrivateMemberCase
46 - key: readability-identifier-naming.PrivateMemberPrefix
48 - key: readability-identifier-naming.PrivateMemberSuffix
50 - key: readability-identifier-naming.LocalVariableCase
52 - key: readability-identifier-naming.LocalVariablePrefix
54 - key: readability-identifier-naming.TemplateParameterCase
56 - key: readability-identifier-naming.TemplateParameterPrefix
58 - key: readability-identifier-naming.TemplateParameterIgnoredRegexp
59 value: (.*\:auto|expr-type) # This is https://llvm.org/PR56464
60 - key: readability-identifier-naming.ValueTemplateParameterIgnoredRegexp # TODO: enforce naming of variable parameters
63 # TODO: investigate these checks
64 # bugprone-branch-clone,
65 # bugprone-macro-parentheses,
66 # cppcoreguidelines-prefer-member-initializer,
67 # misc-unused-parameters,
68 # modernize-use-bool-literals,
69 # modernize-use-default-member-init,
70 # modernize-use-equals-default,
71 # modernize-use-equals-delete,
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,