-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
40 lines (36 loc) · 1.44 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
Checks: "-*,clang-diagnostic-*,clang-analyzer-*,-clang-analyzer-osx,-clang-analyzer-optin.osx,-clang-analyzer-webkit,modernize-*,-modernize-use-trailing-return-type,-modernize-use-nodiscard,readability-*,-readability-magic-numbers,performance-*"
CheckOptions:
# Specify naming convention
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.ClassMemberPrefix
value: _
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.TypeAliasCase
value: CamelCase
- key: readability-identifier-naming.TemplateParameterCase
value: CamelCase
# readability-identifier-length
- key: readability-identifier-length.MinimumVariableNameLength
value: 1
- key: readability-identifier-length.MinimumParameterNameLength
value: 1
- key: readability-identifier-length.MinimumLoopCounterNameLength
value: 1
- key: readability-identifier-length.MinimumExceptionNameLength
value: 1
# braces
key: readability-braces-around-statements.ShortStatementLines
value: 30
# typedef
key: modernize-use-using.IgnoreMacros
vaule: false