• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Checks: >
2  bugprone-copy-constructor-init,
3  bugprone-dangling-handle,
4  bugprone-infinite-loop,
5  bugprone-stringview-nullptr,
6  bugprone-use-after-move,
7
8  llvm-include-order,
9  llvm-namespace-comment,
10
11  misc-definitions-in-headers,
12  misc-misplaced-const,
13  misc-non-copyable-objects,
14  misc-uniqueptr-reset-release,
15
16  modernize-loop-convert,
17  modernize-redundant-void-arg,
18  modernize-use-override,
19
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,
31
32CheckOptions:
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
38    value: false
39  - key:   readability-identifier-naming.ParameterCase
40    value: lower_case
41  - key:   readability-identifier-naming.ParameterPrefix
42    value: __
43  - key:   readability-identifier-naming.PrivateMemberCase
44    value: lower_case
45  - key:   readability-identifier-naming.PrivateMemberPrefix
46    value: __
47  - key:   readability-identifier-naming.PrivateMemberSuffix
48    value: _
49  - key:   readability-identifier-naming.LocalVariableCase
50    value: lower_case
51  - key:   readability-identifier-naming.LocalVariablePrefix
52    value: __
53
54# TODO: investigate these checks
55# bugprone-branch-clone,
56# bugprone-macro-parentheses,
57# cppcoreguidelines-prefer-member-initializer,
58# misc-unused-parameters,
59# modernize-use-bool-literals,
60# modernize-use-default-member-init,
61# modernize-use-equals-default,
62# modernize-use-equals-delete,
63# modernize-use-nullptr,
64# portability-restrict-system-includes,
65# readability-function-cognitive-complexity,
66# readability-implicit-bool-conversion,
67# readability-isolate-declaration,
68# readability-redundant-access-specifiers,
69# readability-redundant-declaration,
70# readability-redundant-member-init,
71#
72