-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
66 lines (66 loc) · 2.26 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Checks: '
*,
-clang-diagnostic-error,
-clang-diagnostic-return-type-c-linkage,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-prefer-member-initializer,
-modernize-use-trailing-return-type,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-modernize-return-braced-init-list,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-no-malloc,
-llvmlibc-restrict-system-libc-headers,
-modernize-use-trailing-return-type,
-llvmlibc-implementation-in-namespace,
-llvmlibc-callee-namespace,
-llvm-else-after-return,
-readability-else-after-return,
-fuchsia-default-arguments-calls,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-non-private-member-variables-in-classes,
-misc-non-private-member-variables-in-classes,
-cppcoreguidelines-avoid-magic-numbers,
-readability-magic-numbers,
-altera-unroll-loops,
-modernize-use-nodiscard,
-altera-struct-pack-align,
-hicpp-avoid-c-arrays,
-cppcoreguidelines-avoid-c-arrays,
-modernize-avoid-c-arrays,
-cppcoreguidelines-pro-type-union-access,
-fuchsia-overloaded-operator,
-modernize-pass-by-value,
-hicpp-signed-bitwise,
-bugprone-unhandled-exception-at-new,
-cppcoreguidelines-owning-memory,
-bugprone-narrowing-conversions,
-bugprone-easily-swappable-parameters,
-fuchsia-default-arguments-declarations,
-altera-id-dependent-backward-branch,
-google-runtime-int,
-abseil-string-find-str-contains,
-cppcoreguidelines-avoid-non-const-global-variables,
-readability-use-anyofallof,
-misc-no-recursion,
-hicpp-no-array-decay,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-readability-function-cognitive-complexity,
-llvm-header-guard,
-fuchsia-statically-constructed-objects,
-cppcoreguidelines-pro-type-reinterpret-cast,
modernize-use-noexcept,
bugprone-exception-escape
'
WarningsAsErrors: '*'
AnalyzeTemporaryDtors: false
FormatStyle: webkit
CheckOptions:
- key: readability-identifier-length.MinimumVariableNameLength
value: 1
- key: readability-identifier-length.MinimumParameterNameLength
value: 1