aboutsummaryrefslogtreecommitdiffstats
path: root/build/config/tests/clang_tidy/config.yaml
blob: 2f0b298d777adee0e4de5bafa5be2a0b2f703c0f (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