aboutsummaryrefslogtreecommitdiffstats
path: root/build/config/tests/clang_tidy/config.yaml
blob: d55707592ca0f5b63a28390e6e572b98bf2704b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Checks: >
  -*,
  arcadia-typeid-name-restriction,
  bugprone-use-after-move,
  readability-identifier-naming,
CheckOptions:
  - key: readability-identifier-naming.ClassCase
    value: CamelCase
  - key: readability-identifier-naming.PublicMemberCase
    value: CamelCase
  - key: readability-identifier-naming.ProtectedMemberCase
    value: CamelCase
  - key: readability-identifier-naming.ProtectedMemberSuffix
    value: _
  - key: readability-identifier-naming.PrivateMemberCase
    value: CamelCase
  - key: readability-identifier-naming.PrivateMemberSuffix
    value: _
  - key: readability-identifier-naming.FunctionCase
    value: CamelCase
  # do not tide public begin / end methods to workaround clang-tidy bug in range-based for loops
  - key: readability-identifier-naming.PublicMethodIgnoredRegexp
    value: "(begin|end|empty|size|ysize|front|back)"
  - key: readability-identifier-naming.PublicMethodCase
    value: CamelCase
  - key: readability-identifier-naming.ProtectedMethodCase
    value: CamelCase
  - key: readability-identifier-naming.PrivateMethodCase
    value: CamelCase