-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
42 lines (41 loc) · 1.75 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
---
Checks: '*,clang-analyzer-*,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-google-readability-todo,-google-runtime-int,-fuchsia-default-arguments-declarations,-fuchsia-overloaded-operator,-fuchsia-default-arguments,-fuchsia-trailing-return,-cppcoreguidelines-pro-type-reinterpret-cast,-llvm-header-guard'
FormatStyle: 'file'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: lower_case
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.EnumCase
value: lower_case
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantPrefix
value: k
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
- key: readability-identifier-naming.GlobalConstantCase
value: CamelCase
- key: readability-identifier-naming.GlobalConstantPrefix
value: k
# - key: readability-identifier-naming.FunctionCase
# value: lowerCase
# - key: readability-identifier-naming.GlobalFunction
# value: CamelCase
# - key: readability-identifier-naming.GlobalVariablePrefix
# value: g_
# - key: readability-identifier-naming.VariableCase
# value: camelBack
# - key: readability-identifier-naming.PrivateMemberPrefix
# value: m_
# - key: readability-identifier-naming.ProtectedMemberPrefix
# value: m_
# - key: readability-identifier-naming.MemberCase
# value: camelBack
# - key: readability-identifier-naming.Method
# value: camelBack
# - key: readability-identifier-naming.ClassMethod
# value: CamelCase
# ...