-
Notifications
You must be signed in to change notification settings - Fork 16
/
.clang-tidy
43 lines (43 loc) · 1.24 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
---
Checks: '*,
-altera-*,
-concurrency-mt-unsafe,
-*-avoid-c-arrays,
-clang-analyzer-deadcode.DeadStores,
-clang-analyzer-alpha.*,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-union-access,
-*-magic-numbers,
-modernize-use-trailing-return-type,
-readability-static-accessed-through-instance,
-readability-braces-around-statements,
-readability-implicit-bool-cast,
-readability-implicit-bool-conversion,
-readability-else-after-return,
-readability-named-parameter,
-llvm-include-order,
-llvm-header-guard,
-llvmlibc-*,
-*-uppercase-literal-suffix,
-*-vararg,
-fuchsia-*,
-hicpp-signed-bitwise,
-google-runtime-references,
-google-build-using-namespace
'
WarningsAsErrors: '*'
HeaderFilterRegex: 'catch.hpp'
FormatStyle: 'file'
CheckOptions:
- key: readability-function-size.LineThreshold
value: '200'
- key: readability-function-size.ParameterThreshold
value: '16'
- key: readability-function-size.StatementThreshold
value: '400'
- key: misc-non-private-member-variables-in-classes.IgnorePublicMemberVariables
value: '1'
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
value: '1;2;3;4;8;'
...