-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
54 lines (45 loc) · 1.73 KB
/
.clang-tidy
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Checks: >
- readability-identifier-naming
CheckOptions:
# Types en PascalCase
- key: readability-identifier-naming.TypeCase
value: PascalCase
# Variables globales en camelCase
- key: readability-identifier-naming.GlobalVariableCase
value: camelCase
# Variables membres privées/protégées en camelCase avec préfixe m_
- key: readability-identifier-naming.PrivateMemberCase
value: camelCase
- key: readability-identifier-naming.PrivateMemberPrefix
value: m_
- key: readability-identifier-naming.ProtectedMemberCase
value: camelCase
- key: readability-identifier-naming.ProtectedMemberPrefix
value: m_
# Fonctions membres privées/protégées en camelCase avec préfixe m_
- key: readability-identifier-naming.PrivateMethodCase
value: camelCase
- key: readability-identifier-naming.PrivateMethodPrefix
value: m_
- key: readability-identifier-naming.ProtectedMethodCase
value: camelCase
- key: readability-identifier-naming.ProtectedMethodPrefix
value: m_
# Variables locales en snake_case avec un préfixe _
- key: readability-identifier-naming.LocalVariableCase
value: snake_case
- key: readability-identifier-naming.LocalVariablePrefix
value: _
# Arguments en PascalCase avec préfixe v
- key: readability-identifier-naming.ParameterCase
value: PascalCase
- key: readability-identifier-naming.ParameterPrefix
value: v
# Variables (hors contexte global ou membre) en camelCase
- key: readability-identifier-naming.VariableCase
value: camelCase
# Fonctions membres publiques en camelCase sans préfixe
- key: readability-identifier-naming.PublicMethodCase
value: camelCase
- key: readability-identifier-naming.PublicMethodPrefix
value: ""