-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
58 lines (58 loc) · 2.05 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
55
56
57
58
HeaderFilterRegex: '^(?!battery/core/extern).*' # Exclude the extern folder: This is third party code
Checks: '*,
-modernize-use-trailing-return-type
-google-readability-todo
-cppcoreguidelines-avoid-magic-numbers
-readability-magic-numbers
-misc-non-private-member-variables-in-classes
-bugprone-easily-swappable-parameters
-hicpp-uppercase-literal-suffix
-readability-uppercase-literal-suffix
-readability-identifier-length
-misc-use-anonymous-namespace
-llvmlibc-restrict-system-libc-headers
-llvm-else-after-return
-fuchsia-*
-altera-*
-llvmlibc-*'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.GlobalFunctionCase
value: CamelCase
- key: readability-identifier-naming.GlobalVariableCase
value: camelBack
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.MemberPrefix
value: m_
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.ClassMemberPrefix
value: m_
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.NamespaceCase
value: CamelCase
- key: readability-identifier-naming.NamespaceIgnoredRegexp
value: 'b|resources_internal'