-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
52 lines (50 loc) · 1.55 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
---
Checks: >
-*,
clang-diagnostic-*,
clang-analyzer-*,
bugprone-*,
cppcoreguidelines-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-type-vararg,
-clang-analyzer-core.UndefinedBinaryOperatorResult,
-misc-no-recursion,
-modernize-avoid-c-arrays,
-modernize-return-braced-init-list,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-performance-no-int-to-ptr,
-readability-else-after-return,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-named-parameter,
-readability-qualified-auto,
-readability-redundant-access-specifiers
WarningsAsErrors: ''
HeaderFilterRegex: '(base/|lumper/).*\\.h$'
CheckOptions:
- key: cppcoreguidelines-macro-usage.CheckCapsOnly
value: 1
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 1
- key: modernize-avoid-bind.PermissiveParameterList
value: 1
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: 1
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: 1
- key: readability-magic-numbers.IgnorePowersOf2IntegerValues
value: 1
- key: readability-magic-numbers.IgnoredIntegerValues
value: 0;1;2;3;4;5;6;7;8;9;10;42;100;1000
...