-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
35 lines (35 loc) · 1.18 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
---
Checks: '-*,
clang-diagnostic-*,
llvm-*,
-llvm-header-guard,
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
readability-*,
-readability-braces-around-statements,
-readability-magic-numbers,
-readability-named-parameter,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-union-access,
bugprone-*,
-bugprone-easily-swappable-parameters,
modernize-*,
-modernize-use-trailing-return-type,
performance-*,
clang-analyzer-*,
'
WarningsAsErrors: ''
# this might need fixing
HeaderFilterRegex: 'include\/dice\/|libs\/(einsum|hypertrie)\/'
FormatStyle: none
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: 40
- key: readability-function-cognitive-complexity.DescribeBasicIncrements
value: 0