-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-tidy
41 lines (40 loc) · 1.24 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
# Copyright 2020-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
Checks: >
*,
-*-magic-numbers,
-*-named-parameter,
-*-no-malloc,
-*-uppercase-literal-suffix,
-*-vararg,
-altera-*,
-bugprone-easily-swappable-parameters,
-bugprone-multi-level-implicit-pointer-conversion,
-bugprone-suspicious-string-compare,
-cert-err33-c,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-concurrency-mt-unsafe,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-cstyle-cast,
-cppcoreguidelines-pro-type-reinterpret-cast,
-fuchsia-default-arguments,
-fuchsia-default-arguments-calls,
-google-runtime-int,
-hicpp-signed-bitwise,
-llvm-header-guard,
-llvmlibc-*,
-misc-include-cleaner,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-performance-no-int-to-ptr,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-non-const-parameter,
WarningsAsErrors: '*'
HeaderFilterRegex: ''
FormatStyle: file