-
Notifications
You must be signed in to change notification settings - Fork 30
/
.clang-tidy
60 lines (58 loc) · 1.8 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
Checks: >
abseil-*,
boost-*,
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-cert-err58-cpp,
-modernize-use-nodiscard,
-modernize-use-auto,
-modernize-use-trailing-return-type,
-modernize-pass-by-value,
-modernize-avoid-c-arrays,
-misc-non-private-member-variables-in-classes,
-llvm-else-after-return,
-performance-unnecessary-value-param,
-bugprone-easily-swappable-parameters,
-bugprone-unused-return-value,
-bugprone-macro-parentheses,
-readability-identifier-length,
-readability-use-anyofallof,
-readability-magic-numbers,
-readability-else-after-return,
-readability-isolate-declaration,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-prefer-member-initializer,
-cppcoreguidelines-pro-type-member-init,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-pro-bounds-constant-array-index,
HeaderFilterRegex: '.*'
FormatStyle: 'file'
CheckOptions:
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: "true"
- key: llvm-namespace-comment.SpacesBeforeComments
value: "2"
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: "true"
- key: readability-uppercase-literal-suffix.NewSuffixes
value: "f"
- key: readability-function-cognitive-complexity.IgnoreMacros
value: true