-
Notifications
You must be signed in to change notification settings - Fork 204
/
.clang-tidy
49 lines (49 loc) · 1.44 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
---
Checks: >
-*,
bugprone-*,
clang-analyzer-*,
cppcoreguidelines-*,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-prefer-member-initializer,
-cppcoreguidelines-avoid-magic-numbers,
hicpp-*,
misc,
modernize-*,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
readability-*,
-readability-redundant-access-specifiers,
-readability-convert-member-functions-to-static,
-readability-identifier-length,
-readability-magic-numbers,
WarningsAsErrors: >
cppcoreguidelines-explicit-virtual-functions,
cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-special-member-functions,
hicpp-member-init,
-deprecated-headers,
modernize-loop-convert,
modernize-use-auto,
modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-nullptr,
modernize-use-override,
modernize-use-using,
performance-for-range-copy,
readability-braces-around-statements,
readability-const-return-type,
readability-container-size-empty,
readability-isolate-declaration,
readability-make-member-function-const,
readability-redundant-member-init,
readability-static-definition-in-anonymous-namespace,
FormatStyle: file
CheckOptions:
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
value: 1
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: 1
- key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
value: 1