-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
27 lines (27 loc) · 905 Bytes
/
.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
# cppcoreguidelines-avoid-magic-numbers, readability-magic-numbers
# The algorithms contain some fixed magic numbers. Replacing them by named
# constants (maybe defined in different places) could spoil the readability.
# cppcoreguidelines-pro-bounds-pointer-arithmetic
# It would be nice provided std::span<T> is available.
# modernize-use-trailing-return-type
# This check aggressively tries to change even the (legitimate) main function,
# which in this case is purely stylistic.
Checks: >-
-*,
bugprone-*,
cert-*,
clang-analyzer-*,
clang-diagnostic-*,
cppcoreguidelines-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-modernize-use-trailing-return-type,
-readability-magic-numbers,
HeaderFilterRegex: /include/dcmt/
WarningsAsErrors: '*'