forked from awslabs/ml-io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
38 lines (36 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
38
Checks: "*,\
-android-*,\
-clang-analyzer-*,\
-cppcoreguidelines-avoid-c-arrays,\
-cppcoreguidelines-avoid-magic-numbers,\
-cppcoreguidelines-macro-usage,\
-cppcoreguidelines-non-private-member-variables-in-classes,\
-cppcoreguidelines-owning-memory,\
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
-cppcoreguidelines-pro-type-reinterpret-cast,\
-cppcoreguidelines-pro-type-static-cast-downcast,\
-cppcoreguidelines-pro-type-vararg,\
-fuchsia-*,\
-google-build-using-namespace,\
-google-readability-avoid-underscore-in-googletest-name,\
-google-runtime-references,\
-hicpp-*,\
-llvm-*,\
-misc-non-private-member-variables-in-classes,\
-modernize-avoid-c-arrays,\
-modernize-use-nodiscard,\
-modernize-use-trailing-return-type,\
-readability-magic-numbers,\
-readability-named-parameter,\
-readability-qualified-auto,\
-readability-redundant-access-specifiers"
CheckOptions:
# Some types such as std::span<> do not have user-declared move
# semantics.
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: 1
# An std::optional<> with a trivial template argument is itself
# trivially move constructible/assignable.
- key: performance-unnecessary-value-param.AllowedTypes
value: "optional"