summaryrefslogtreecommitdiffstats
path: root/etc/clang-tidy/config.yaml
blob: c9bcbae1c4b9ef615c7935b856866bc4bc533ccc (plain)
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
---
Checks: >
    *,
    -altera-id-dependent-backward-branch,
    -altera-unroll-loops,
    -android-cloexec-accept,
    -android-cloexec-dup,
    -android-cloexec-fopen,
    -android-cloexec-memfd-create,
    -android-cloexec-open,
    -android-cloexec-pipe,
    -bugprone-easily-swappable-parameters,
    -bugprone-implicit-widening-of-multiplication-result,
    -bugprone-reserved-identifier,
    -cert-dcl37-c,
    -cert-dcl51-cpp,
    -cert-env33-c,
    -cert-err33-c,
    -cert-err34-c,
    -cert-msc30-c,
    -cert-msc50-cpp,
    -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
    -concurrency-mt-unsafe,
    -cppcoreguidelines-avoid-non-const-global-variables,
    -cppcoreguidelines-init-variables,
    -google-readability-braces-around-statements,
    -hicpp-braces-around-statements,
    -hicpp-no-assembler,
    -llvmlibc-restrict-system-libc-headers,
    -misc-no-recursion,
    -readability-braces-around-statements,
    -readability-function-cognitive-complexity,
    -readability-identifier-length,
    -readability-isolate-declaration,

WarningsAsErrors: >
    *,
    -altera-struct-pack-align,
    -bugprone-narrowing-conversions,
    -clang-diagnostic-format,
    -clang-diagnostic-sign-compare,
    -clang-diagnostic-uninitialized,
    -clang-diagnostic-unused-parameter,
    -cppcoreguidelines-avoid-magic-numbers,
    -cppcoreguidelines-narrowing-conversions,
    -hicpp-multiway-paths-covered,
    -hicpp-signed-bitwise,
    -misc-unused-parameters,
    -performance-no-int-to-ptr,
    -readability-magic-numbers,
...