forked from eclipse-bluechi/bluechi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
35 lines (32 loc) · 1.03 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
---
Checks: >
*,
-llvm-header-guard,
-llvmlibc-restrict-system-libc-headers,
-cert-err33-c,
-cert-dcl37-c,
-cert-dcl51-cpp,
-bugprone-reserved-identifier,
-readability-identifier-length,
-concurrency-mt-unsafe,
-google-readability-todo,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-altera-unroll-loops,
-altera-id-dependent-backward-branch,
-bugprone-easily-swappable-parameters,
-altera-struct-pack-align,
-readability-isolate-declaration,
-bugprone-assignment-in-if-condition,
-clang-analyzer-unix.Malloc,
-cppcoreguidelines-interfaces-global-init,
-cppcoreguidelines-avoid-non-const-global-variables,
-readability-function-cognitive-complexity,
-modernize-macro-to-enum,
-llvm-else-after-return,
-readability-else-after-return
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: 50
# Turn all the warnings from the checks above into errors.,
WarningsAsErrors: "*"
HeaderFilterRegex: ""