-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
42 lines (42 loc) · 1.22 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
InheritParentConfig: false # Because this is the top-level file in this repository.
Checks: >-
boost-*,
bugprone-*,
cert-*,
clang-analyzer-*,
cppcoreguidelines-*,
google-*,
hicpp-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-readability-identifier-length,
-google-readability-todo,
-readability-avoid-const-params-in-decls,
-readability-identifier-length,
-llvm-header-guard,
-llvm-include-order,
-bugprone-easily-swappable-parameters,
-bugprone-unchecked-optional-access,
-bugprone-dynamic-static-initializers,
-*-use-trailing-return-type,
-*-array-*decay,
-hicpp-named-parameter,
-readability-named-parameter,
-modernize-pass-by-value,
CheckOptions:
- key: readability-function-cognitive-complexity.Threshold
value: '90'
- key: readability-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;5;10;20;60;100;1000'
- key: readability-magic-numbers.IgnoredFloatingPointValues
value: '1e-9;1e-6;1e-3;0.0;1.0;100.0;1e3;1e4;1e5;1e6;1e9;0.5;2.0;3.0'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*\.hpp'
AnalyzeTemporaryDtors: false
FormatStyle: file