-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.clang-tidy
72 lines (68 loc) · 1.99 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
Checks: "
-*,
bugprone-*,
cert-*,
clang-*,
concurrency-*,
cppcoreguidelines-*,
fuchsia-*,
google-*,
hicpp-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
readability-*,
-bugprone-easily-swappable-parameters,
-clang-analyzer-optin.cplusplus.VirtualCall
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-reference-coroutine-parameters,
-cppcoreguidelines-owning-memory,
-fuchsia-default-arguments-calls,
-fuchsia-default-arguments-declarations,
-fuchsia-multiple-inheritance,
-fuchsia-overloaded-operator,
-fuchsia-trailing-return,
-fuchsia-virtual-inheritance
-google-build-using-namespace,
-google-readability-todo,
-google-runtime-int,
-llvm-header-guard,
-llvm-header-guard,
-llvm-include-order,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-modernize-use-trailing-return-type,
-readability-suspicious-call-argument,
"
WarningsAsErrors: true
HeaderFilterRegex: '.*'
UseColor: true
CheckOptions:
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.NamespaceCase
value: CamelCase
- key: readability-identifier-naming.ConstexprVariableCase
value: CamelCase
- key: readability-identifier-naming.ClassMemberCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ClassMemberPrefix
value: m
- key: readability-identifier-length.IgnoredVariableNames
value: '^id$|^ec$|^it$'
- key: readability-identifier-length.IgnoredParameterNames
value: '^id$|^ec$|^it$'