forked from tenstorrent/whisper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
43 lines (39 loc) · 1.43 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
# TODO - enable this once other warnings are removed
# -readability-inconsistent-declaration-parameter-name,
#
# TODO - these checks are flagged in a bunch of places. May be nice to enable eventually but not necessary
# -readability-implicit-bool-conversion,
# -readability-named-parameter,
# -readability-uppercase-literal-suffix
Checks: >
-*,
boost-use-to-string,
bugprone-*,
cppcoreguidelines-avoid-non-const-global-variables,
cppcoreguidelines-misleading-capture-default-by-value,
cppcoreguidelines-narrowing-conversions,
cppcoreguidelines-rvalue-reference-param-not-moved,
misc-redundant-expression,
modernize-*,
performance-*,
readability-*,
-bugprone-easily-swappable-parameters,
-modernize-use-auto,
-modernize-use-nodiscard,
-modernize-use-trailing-return-type,
-readability-braces-around-statements,
-readability-function-cognitive-complexity,
-readability-function-size,
-readability-identifier-length,
-readability-isolate-declaration,
-readability-magic-numbers,
-readability-suspicious-call-argument,
-readability-inconsistent-declaration-parameter-name,
-readability-implicit-bool-conversion,
-readability-named-parameter,
-readability-uppercase-literal-suffix
CheckOptions:
- key: bugprone-reserved-identifier.AllowedIdentifiers
value: '_Count;_End'
- key: bugprone-signed-char-misuse.CharTypdefsToIgnore
value: 'int8_t'