-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
48 lines (39 loc) · 1.39 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
Checks: |
bugprone-*,
-bugprone-exception-escape,
-bugprone-easily-swappable-parameters,
clang-analyzer-*,
clang-diagnostic-*,
-clang-diagnostic-unknown-attributes,
-clang-diagnostic-comment,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-type-const-cast,
-cppcoreguidelines-special-member-functions,
hicpp-signed-bitwise,
hicpp-ignored-remove-result,
misc-*,
-misc-non-private-member-variables-in-classes,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-deprecated-headers,
performance-*,
-performance-inefficient-string-concatenation,
-performance-move-const-arg,
readability-*,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-magic-numbers,
-readability-use-anyofallof,
-readability-redundant-access-specifiers
CheckOptions:
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'
- key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
value: '1'
UseColor: true