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