-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
46 lines (46 loc) · 1.48 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
44
45
46
Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
cert-*,
clang-diagnostic-*,
clang-analyzer-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-non-private-member-variables-in-classes,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
google-*,
-google-explicit-constructor,
-google-runtime-references,
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
performance-*,
readability-*,
-readability-uppercase-literal-suffix,
-readability-magic-numbers,
-readability-redundant-string-init,
-readability-identifier-length,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard
WarningsAsErrors: ""
HeaderFilterRegex: ".*"
AnalyzeTemporaryDtors: false
FormatStyle: file
CheckOptions:
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredFloatingPointValues
value: "0.5;1.0;2.0;3.0;4.0;100.0;"
- key: readability-magic-numbers.IgnoredFloatingPointValues
value: "0.5;1.0;2.0;3.0;4.0;100.0;"
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
value: "1;2;3;4;"
- key: readability-magic-numbers.IgnoredIntegerValues
value: "1;2;3;4;"
- key: modernize-loop-convert.NamingStyle
value: lower_case