-
Notifications
You must be signed in to change notification settings - Fork 19
/
.clang-tidy
74 lines (74 loc) · 3.42 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
67
68
69
70
71
72
73
74
---
Checks: '
,*,
,-altera-id-dependent-backward-branch,
,-altera-struct-pack-align,
,-altera-unroll-loops,
,-android-cloexec-fopen,
,-bugprone-easily-swappable-parameters,
,-cert-err52-cpp,
,-cert-err58-cpp,
,-cert-flp30-c,
,-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
,-clang-diagnostic-unused-command-line-argument,
,-concurrency-mt-unsafe,
,-cppcoreguidelines-avoid-c-arrays,
,-cppcoreguidelines-avoid-magic-numbers,
,-cppcoreguidelines-avoid-non-const-global-variables,
,-cppcoreguidelines-init-variables,
,-cppcoreguidelines-non-private-member-variables-in-classes,
,-cppcoreguidelines-owning-memory,
,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
,-cppcoreguidelines-pro-bounds-constant-array-index,
,-cppcoreguidelines-pro-bounds-pointer-arithmetic,
,-cppcoreguidelines-pro-type-vararg,
,-cppcoreguidelines-special-member-functions,
,-fuchsia-default-arguments-calls,
,-fuchsia-default-arguments-declarations,
,-fuchsia-default-arguments,
,-fuchsia-multiple-inheritance,
,-fuchsia-overloaded-operator,
,-fuchsia-statically-constructed-objects,
,-fuchsia-trailing-return,
,-google-global-names-in-headers,
,-google-readability-todo,
,-google-runtime-int,
,-google-runtime-references,
,-hicpp-avoid-c-arrays,
,-hicpp-named-parameter,
,-hicpp-no-array-decay,
,-hicpp-signed-bitwise,
,-hicpp-special-member-functions,
,-hicpp-uppercase-literal-suffix,
,-hicpp-vararg,
,-llvm-header-guard,
,-llvm-qualified-auto,
,-llvmlibc-callee-namespace,
,-llvmlibc-implementation-in-namespace,
,-llvmlibc-inline-function-decl,
,-llvmlibc-restrict-system-libc-headers,
,-misc-const-correctness,
,-misc-include-cleaner,
,-misc-no-recursion,
,-misc-non-private-member-variables-in-classes,
,-modernize-avoid-c-arrays,
,-modernize-use-nodiscard,
,-modernize-use-trailing-return-type,
,-readability-function-cognitive-complexity,
,-readability-identifier-length,
,-readability-magic-numbers,
,-readability-named-parameter,
,-readability-qualified-auto,
,-readability-uppercase-literal-suffix,
,-readability-use-anyofallof,
'
WarningsAsErrors: 'hicpp-use-override,modernize-avoid-bind,llvm-namespace-comment,modernize-use-nullptr,modernize-pass-by-value,hicpp-noexcept-move,boost-use-to-string,google-readability-namespace-comments,modernize-use-default-member-init,modernize-loop-convert,hicpp-use-nullptr,google-readability-braces-around-statements,cert-dcl03-c,readability-else-after-return,bugprone-macro-parentheses,readability-redundant-declaration,google-explicit-constructor,readability-avoid-const-params-in-decls,readability-redundant-casting'
CheckOptions:
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: '1'
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: '1'
- key: bugprone-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
value: '0'
- key: cppcoreguidelines-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
value: '0'