-
Notifications
You must be signed in to change notification settings - Fork 10
/
.clang-tidy
59 lines (59 loc) · 1.76 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
---
Checks: '
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-init-variables,
cppcoreguidelines-interfaces-global-init,
cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-prefer-member-initializer,
cppcoreguidelines-pro-type-const-cast,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-slicing,
cppcoreguidelines-special-member-functions,
google-default-arguments,
google-explicit-constructor,
google-global-names-in-headers,
google-runtime-*,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
hicpp-signed-bitwise,
misc-*,
modernize-*,
-*-avoid-c-arrays,
performance-*,
readability-container-size-empty,
readability-delete-null-pointer,
readability-make-member-function-const,
readability-misplaced-array-index,
readability-non-const-parameter,
readability-qualified-auto,
readability-redundant-*,
readability-simplify-*,
readability-uniqueptr-delete-release,
readability-use-anyofallof
'
WarningsAsErrors: '*'
HeaderFilterRegex: 'catch.hpp'
FormatStyle: 'file'
CheckOptions:
- key: readability-function-size.LineThreshold
value: '200'
- key: readability-function-size.ParameterThreshold
value: '16'
- key: readability-function-size.StatementThreshold
value: '400'
- key: misc-non-private-member-variables-in-classes.IgnorePublicMemberVariables
value: '1'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;8;'
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: 'true'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: 'true'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
value: 'true'
- key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
value: 'true'
...