-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.clang-tidy
67 lines (67 loc) · 2.7 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
---
Checks: >
-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-non-private-member-variables-in-classes,
bugprone-assert-side-effect,
performance-*,
performance-move-const-arg,
modernize-use-auto,
misc-const-correctness,
misc-non-copyable-objects,
misc-redundant-expression,
misc-static-assert,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
misc-unused-*,
misc-use-anonymous-namespace,
readability-*,
-readability-implicit-bool-conversion,
-readability-redundant-string-init,
-readability-qualified-auto,
-readability-function-cognitive-complexity,
-readability-else-after-return,
-readability-convert-member-functions-to-static,
-readability-uppercase-literal-suffix,
-readability-isolate-declaration,
-readability-braces-around-statements,
-readability-magic-numbers,
-readability-identifier-length,
-readability-avoid-nested-conditional-operator,
WarningsAsErrors: ""
HeaderFilterRegex: ".*"
FormatStyle: none
CheckOptions:
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.GlobalVariableCase, value: UPPER_CASE }
- { key: readability-identifier-naming.GlobalConstantCase, value: lower_case }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: _ }
- { key: readability-identifier-naming.PrivateMethodCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMethodPrefix, value: _ }
- {
key: readability-identifier-naming.ProtectedMemberCase,
value: lower_case,
}
- { key: readability-identifier-naming.ProtectedMemberPrefix, value: _ }
- {
key: readability-identifier-naming.ProtectedMethodCase,
value: lower_case,
}
- { key: readability-identifier-naming.ProtectedMethodPrefix, value: _ }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.EnumConstantCase, value: lower_case }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.MacroCase, value: UPPER_CASE }
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
- {
key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor,
value: true,
}