-
Notifications
You must be signed in to change notification settings - Fork 16
/
.clang-tidy
43 lines (42 loc) · 1.21 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
# Some of these we should fix:
# - misc-non-private-member-variables-in-classes
# - performance-move-const-arg
# - performance-unnecessary-value-param
# - readability-braces-around-statements
# - readability-implicit-bool-conversion
# - readability-qualified-auto
#
# The others are a bit more subjective and not really worth doing anything about.
Checks: >
-*,
bugprone-*,
cert-*,
-cert-err58-cpp,
clang-analyzer-*,
concurrency-*,
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
modernize-*,
-modernize-avoid-bind,
-modernize-avoid-c-arrays,
-modernize-pass-by-value,
-modernize-use-auto,
-modernize-use-emplace,
-modernize-use-nodiscard,
-modernize-use-nullptr,
-modernize-use-trailing-return-type,
-modernize-use-using,
performance-*,
-performance-move-const-arg,
-performance-unnecessary-value-param,
portability-*,
readability-*,
-readability-convert-member-functions-to-static,
-readability-else-after-return,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-qualified-auto,
WarningsAsErrors: '*'
# Include current directory files and exclude ccf imported code
HeaderFilterRegex: '^(?!.*(\/opt_ccf.*\/include\/)).*'