-
Notifications
You must be signed in to change notification settings - Fork 13
/
.clang-tidy
91 lines (89 loc) · 3.49 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
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
Checks: "-*,
cppcoreguidelines-init-variables,
cppcoreguidelines-no-malloc,
cppcoreguidelines-special-member-functions,
google-build-using-namespace,
llvm-include-order,
performance-unnecessary-copy-initialization,
performance-inefficient-algorithm,
modernize-use-using,
modernize-use-nullptr,
modernize-use-emplace,
modernize-use-bool-literals,
modernize-make-shared,
modernize-loop-convert,
modernize-deprecated-headers,
modernize-use-override,
modernize-explicit-conversions,
modernize-move-const-arg,
modernize-noexcept-move,
modernize-use-auto,
misc-redundant-expression,
readability-braces-around-statements,
readability-isolate-declaration,
readability-container-size-empty,
readability-delete-null-pointer,
readability-magic-numbers,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-member-init,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-boolean-expr,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-uniqueptr-delete-release,
readability-named-parameter"
CheckOptions:
- key: cppcoreguidelines-macro-usage.CheckCapsOnly
value: '1'
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
value: '1'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: '1'
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'
- key: modernize-use-override.IgnoreDestructors
value: '1'
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: '1'
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: '1'
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: true
- key: readability-magic-numbers.IgnoreAllFloatingPointValues
value: true
- key: readability-magic-numbers.IgnoredIntegerValues
value: '2;3;4;5;6;7;8;9;10;12;15;24;40;48;56;60;100;255;384;420;438;493;511;1000;65535'
- key: readability-identifier-naming.NamespaceCase,
value: lower_case
- key: readability-identifier-naming.ClassCase,
value: CamelCase
- key: readability-identifier-naming.EnumCase,
value: CamelCase
- key: readability-identifier-naming.PrivateMemberSuffix,
value: "_"
- key: readability-identifier-naming.StructCase,
value: CamelCase
- key: readability-identifier-naming.FunctionCase,
value: CamelCase
- key: readability-identifier-naming.VariableCase,
value: lower_case
- key: readability-identifier-naming.ConstantCase,
value: CamelCase
- key: readability-identifier-naming.ConstantPrefix,
value: "k"
- key: readability-function-size.StatementThreshold
value: '200'
- key: readability-function-size.ParameterThreshold
value: '7'
- key: readability-function-cognitive-complexity.Threshold
value: '87'
- key: misc-definitions-in-headers.HeaderFileExtensions
value: ',h,hh,hpp,hxx'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable