-
Notifications
You must be signed in to change notification settings - Fork 8
/
.clang-tidy
56 lines (55 loc) · 2.1 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
Checks: |
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-performance-avoid-endl,
-misc-no-recursion,
-modernize-use-trailing-return-type,
-misc-non-private-member-variables-in-classes,
-bugprone-easily-swappable-parameters,
-misc-use-anonymous-namespace,
-readability-function-cognitive-complexity
WarningsAsErrors: ""
HeaderFilterRegex: ""
FormatStyle: none
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.ClassMethodCase, value: camelBack }
- { key: readability-identifier-naming.ClassConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.ClassMemberCase, value: camelBack }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- {
key: readability-identifier-naming.ScopedEnumConstantCase,
value: UPPER_CASE,
}
- { key: readability-identifier-naming.EnumConstantCase, value: CamelCase }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.LocalConstantCase, value: camelBack }
- { key: readability-identifier-naming.LocalVariableCase, value: camelBack }
- {
key: readability-identifier-naming.MacroDefinitionCase,
value: UPPER_CASE,
}
- { key: readability-identifier-naming.ParameterCase, value: camelBack }
- { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.VariableCase, value: camelBack }
- {
key: readability-implicit-bool-conversion.AllowPointerConditions,
value: true,
}
- {
key: readability-identifier-length.IgnoredVariableNames,
value: "al|fe|me|sl|be|ce|il|ns|bd|op",
}
- {
key: readability-identifier-length.IgnoredParameterNames,
value: "al|fe|me|sl|be|ce|il|ns|bd|op",
}