-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.clang-tidy
37 lines (37 loc) · 1.38 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
FormatStyle: 'file'
WarningsAsErrors: '*'
Checks: '*,
-altera-struct-pack-align,
-altera-unroll-loops,
-bugprone-easily-swappable-parameters,
-cert-dcl03-c,
-cert-err58-cpp,
-clang-analyzer-deadcode.DeadStores,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-fuchsia-default-arguments-calls,
-fuchsia-overloaded-operator,
-fuchsia-statically-constructed-objects,
-fuchsia-trailing-return,
-hicpp-avoid-c-arrays,
-hicpp-move-const-arg,
-hicpp-no-array-decay,
-llvmlibc-callee-namespace,
-llvmlibc-implementation-in-namespace,
-llvmlibc-restrict-system-libc-headers,
-misc-const-correctness,
-misc-include-cleaner,
-modernize-avoid-c-arrays,
-performance-no-automatic-move,
-performance-unnecessary-copy-initialization,
-portability-simd-intrinsics,
-readability-identifier-length,
-readability-magic-numbers'
CheckOptions:
modernize-use-std-numbers.DiffThreshold: '0.000001'