-
Notifications
You must be signed in to change notification settings - Fork 39
/
.clang-tidy
39 lines (36 loc) · 1.17 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
---
Checks: >
*,
-llvm-header-guard,
-llvm-include-order,
-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,
-misc-include-cleaner,
-bugprone-multi-level-implicit-pointer-conversion,
-cppcoreguidelines-macro-to-enum
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: 50
# Turn all the warnings from the checks above into errors.,
WarningsAsErrors: "*"
HeaderFilterRegex: ""