-
Notifications
You must be signed in to change notification settings - Fork 3
/
.clang-tidy
50 lines (48 loc) · 1.95 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
Checks: '-*,
clang-diagnostic-*,
llvm-*,
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
readability-*,
-readability-else-after*,
-readability-simplify-boolean-expr,
-readability-implicit-bool-cast,
-readability-static-definition-in-anonymous-namespace,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-function-cognitive-complexity,
cppcoreguidelines-*,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-macro-usage,
bugprone-*,
modernize-*,
-modernize-use-trailing-return-type,
performance-*,
clang-analyzer-*,
'
FormatStyle: LLVM
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: CamelCase
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: 1
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: 1