forked from Checkmk/checkmk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
38 lines (36 loc) · 1.11 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: >
-*,
bugprone-*,
cert-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-cert-err34-c,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-do-while,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-special-member-functions,
-misc-include-cleaner,
-misc-non-private-member-variables-in-classes,
-modernize-use-trailing-return-type,
-performance-enum-size,
-readability-avoid-nested-conditional-operator,
-readability-avoid-return-with-void-value,
-readability-identifier-length,
-readability-magic-numbers,
WarningsAsErrors: '*'
CheckOptions:
bugprone-signed-char-misuse.CharTypdefsToIgnore: 'int8_t'
cert-str34-c.CharTypdefsToIgnore: 'int8_t'
# There is a cycle within the Asio library: asio/io_context.hpp <=> asio/impl/io_context.ipp
misc-header-include-cycle.IgnoredFilesList: '/asio/io_context\.hpp$'
...