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,
20 modernize-use-equals-delete,
22 readability-duplicate-include,
23 readability-identifier-naming,
24 readability-function-cognitive-complexity,
25 readability-function-size,
26 readability-misplaced-array-index,
27 readability-redundant-control-flow,
28 readability-redundant-function-ptr-dereference,
29 readability-redundant-preprocessor,
30 readability-simplify-boolean-expr,
31 readability-simplify-subscript-expr,
32 readability-uniqueptr-delete-release,
35 - key: readability-function-cognitive-complexity.Threshold
36 value: 143 # TODO: bring that number down
37 - key: readability-function-size.LineThreshold
38 value: 194 # TODO: bring that number down
39 - key: readability-identifier-naming.GetConfigPerFile
41 - key: readability-identifier-naming.ParameterCase
43 - key: readability-identifier-naming.ParameterPrefix
45 - key: readability-identifier-naming.PrivateMemberCase
47 - key: readability-identifier-naming.PrivateMemberPrefix
49 - key: readability-identifier-naming.PrivateMemberSuffix
51 - key: readability-identifier-naming.LocalVariableCase
53 - key: readability-identifier-naming.LocalVariablePrefix
55 - key: readability-identifier-naming.TemplateParameterCase
57 - key: readability-identifier-naming.TemplateParameterPrefix
59 - key: readability-identifier-naming.TemplateParameterIgnoredRegexp
60 value: (.*\:auto|expr-type) # This is https://llvm.org/PR56464
61 - key: readability-identifier-naming.ValueTemplateParameterCase
63 - key: readability-identifier-naming.ValueTemplateParameterPrefix
65 - key: readability-identifier-naming.ValueTemplateParameterIgnoredRegexp
66 value: (__[a-z_]|_[A-Z]).* # TODO: Converge on a single style for value template parameters
68 # TODO: investigate these checks
69 # bugprone-branch-clone,
70 # bugprone-macro-parentheses,
71 # cppcoreguidelines-prefer-member-initializer,
72 # misc-unused-parameters,
73 # modernize-use-bool-literals,
74 # modernize-use-default-member-init,
75 # modernize-use-equals-default,
76 # portability-restrict-system-includes,
77 # readability-function-cognitive-complexity,
78 # readability-implicit-bool-conversion,
79 # readability-isolate-declaration,
80 # readability-redundant-access-specifiers,
81 # readability-redundant-declaration,
82 # readability-redundant-member-init,