-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
44 lines (42 loc) · 1.02 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
42
43
44
#
#NOTE: allway check first the cert rules only! CK
#
Checks:
'-*,
boost-*,
bugprone-*,
cert-*,
-cert-env33-c,
-cert-err58-cpp,
clang-analyzer-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-*,
-cppcoreguidelines-macro-usage,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-*,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-special-member-functions,
hicpp-*,
-hicpp-no-array-decay,
-hicpp-signed-bitwise,
-hicpp-vararg,
misc-*,
-misc-non-private-member-variables-in-classes,
modernize-*,
-modernize-macro-to-enum,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
performance-*,
portability-*,
readability-*,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-*avoid-c-arrays,
-*magic-numbers,
'
HeaderFilterRegex:
'.*'
#TODO: this is not realy pedantic! CK
WarningsAsErrors:
'clang-diagnostic-error'