-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.clang-tidy
More file actions
43 lines (37 loc) · 1.28 KB
/
.clang-tidy
File metadata and controls
43 lines (37 loc) · 1.28 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
Checks: >
-*,
bugprone-*,
misc-*,
portability-*,
performance-*,
readability-*,
clang-analyzer-*,
-readability-magic-numbers,
-readability-identifier-naming,
-bugprone-easily-swappable-parameters,
-readability-identifier-length,
WarningsAsErrors: "*"
HeaderFileExtensions:
- h
ImplementationFileExtensions:
- c
- cpp
HeaderFilterRegex: ""
ExcludeHeaderFilterRegex: ""
SystemHeaders: false
CheckOptions:
readability-identifier-naming.EnumCase: "lower_case"
readability-identifier-naming.StructCase: "lower_case"
readability-identifier-naming.FunctionCase: "lower_case"
readability-identifier-naming.VariableCase: "lower_case"
readability-identifier-naming.MemberCase: "lower_case"
readability-identifier-naming.ParameterCase: "lower_case"
readability-identifier-naming.TypedefCase: "lower_case"
readability-identifier-naming.TypedefSuffix: "_t"
readability-identifier-naming.EnumConstantCase: "UPPER_CASE"
readability-identifier-naming.MacroDefinitionCase: "UPPER_CASE"
readability-identifier-naming.ConstantCase: "CamelCase"
readability-identifier-naming.ConstantPrefix: "k"
readability-identifier-naming.StaticConstantCase: "UPPER_CASE"
readability-identifier-naming.ClassMemberSuffix: "_"
readability-function-cognitive-complexity.Threshold: 50