-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-tidy
More file actions
135 lines (133 loc) · 4.63 KB
/
.clang-tidy
File metadata and controls
135 lines (133 loc) · 4.63 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
---
Checks: >
-*,
bugprone-*,
performance-*,
modernize-*,
readability-*,
cppcoreguidelines-*,
-modernize-use-trailing-return-type,
-readability-identifier-length,
-cppcoreguidelines-avoid-magic-numbers,
-readability-magic-numbers
WarningsAsErrors: ''
HeaderFilterRegex: '.*'
AnalyzeTemporaryDtors: false
FormatStyle: 'file'
User: ''
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: PascalCase
- key: readability-identifier-naming.StructCase
value: PascalCase
- key: readability-identifier-naming.FunctionCase
value: camelCase
- key: readability-identifier-naming.VariableCase
value: snake_case
- key: readability-identifier-naming.ParameterCase
value: snake_case
- key: readability-identifier-naming.MemberCase
value: snake_case
- key: readability-identifier-naming.PrivateMemberPrefix
value: ''
- key: readability-identifier-naming.ProtectedMemberCase
value: snake_case
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ConstantMemberCase
value: UPPER_CASE
- key: readability-identifier-naming.StaticConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.EnumCase
value: PascalCase
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalVariableCase
value: snake_case
- key: readability-identifier-naming.StaticVariableCase
value: snake_case
- key: readability-identifier-naming.MemberVariableCase
value: snake_case
- key: readability-identifier-naming.PrivateMemberSuffix
value: ''
- key: modernize-use-nullptr.CheckSmartPointers
value: true
- key: modernize-use-auto.MinTypeNameLength
value: 5
- key: performance-for-range-copy.WarnOnAllAutoCopies
value: true
- key: performance-unnecessary-copy-initialization.AllowedTypes
value: 'std::string;std::vector'
- key: readability-function-cognitive-complexity.Threshold
value: 25
- key: readability-function-size.LineThreshold
value: 200
- key: readability-function-size.StatementThreshold
value: 100
- key: readability-function-size.ParameterThreshold
value: 10
- key: readability-function-size.NestingThreshold
value: 4
- key: readability-function-size.VariableThreshold
value: 15
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: true
- key: readability-identifier-naming.IgnoreSingleLetterIdentifiers
value: true
- key: readability-identifier-naming.IgnoreTypeAliases
value: false
- key: readability-identifier-naming.IgnoreObjCProperty
value: false
- key: readability-identifier-naming.IgnoreKernelFunctions
value: false
- key: readability-identifier-naming.IgnoreTemplateParameters
value: false
- key: readability-identifier-naming.IgnoreMacros
value: true
- key: readability-identifier-naming.IgnoreNamePrefixes
value: ''
- key: readability-identifier-naming.IgnoreNameSuffixes
value: ''
- key: readability-identifier-naming.IgnoreImplicitFunctionParams
value: false
- key: readability-identifier-naming.IgnoreImplicitMethodParams
value: false
- key: readability-identifier-naming.IgnoreLambdaVariables
value: false
- key: readability-identifier-naming.IgnoreUsingDeclarations
value: false
- key: readability-identifier-naming.IgnoreFriendDeclarations
value: false
- key: readability-identifier-naming.IgnoreDeclarations
value: false
- key: readability-identifier-naming.IgnoreInheritedFunctions
value: false
- key: readability-identifier-naming.IgnoreOverloadedOperators
value: true
- key: readability-identifier-naming.IgnoreObjCMethods
value: false
- key: readability-identifier-naming.IgnoreObjCProperties
value: false
- key: readability-identifier-naming.IgnoreAccessSpecifiers
value: false
- key: readability-identifier-naming.IgnoreNamespaceIdentifiers
value: false
- key: readability-identifier-naming.IgnoreHeaderFileExtensions
value: 'h;hpp;hxx;h++'
- key: readability-identifier-naming.IgnoreSystemHeaders
value: true
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: true
- key: readability-identifier-naming.IgnoreSingleLetterIdentifiers
value: true
- key: readability-identifier-naming.IgnoreTypeAliases
value: false
- key: readability-identifier-naming.IgnoreObjCProperty
value: false
- key: readability-identifier-naming.IgnoreKernelFunctions
value: false
- Progress: 100