-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-tidy
38 lines (31 loc) · 996 Bytes
/
.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
# https://stackoverflow.com/questions/60723010/clang-tidy-file-how-to-list-the-checks-in-multiple-lines
Checks: >
*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-narrowing-conversions,
-concurrency-mt-unsafe,
-clang-diagnostic-shadow,
-llvm-else-after-return,
-llvm-header-guard,
-llvmlibc-restrict-system-libc-headers,
-cert-dcl37-c,
-cert-dcl51-cpp,
-cert-err33-c,
-bugprone-reserved-identifier,
-bugprone-branch-clone,
-bugprone-easily-swappable-parameters,
-android-cloexec-fopen,
-android-cloexec-open,
-readability-magic-numbers,
-readability-else-after-return,
-readability-redundant-control-flow,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-hicpp-signed-bitwise,
-hicpp-special-member-functions,
-altera-struct-pack-align,
-altera-id-dependent-backward-branch,
-altera-unroll-loops
HeaderFilterRegex: '.*'
WarningsAsErrors: ''