forked from eki-project/finn-cpp-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
89 lines (89 loc) · 3.64 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
---
Checks: '*,
-fuchsia-*,
-zircon-*,
-abseil-*,
-linuxkernel-*,
-objc-*,
-android-*,
-cert-*,
-altera-*,
-llvm-else-after-return,
bugprone-*,
-bugprone-easily-swappable-parameters,
-bugprone-reserved-identifier,
-bugprone-exception-escape,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
-modernize-use-nodiscard,
-modernize-pass-by-value,
clang-analyzer-*,
-clang-diagnostic-ignored-optimization-argument,
google-*,
-google-runtime-int,
-google-readability-namespace-comments,
llvm-*,
-llvm-include-order,
-llvm-header-guard,
-llvm-else-after-return,
-llvmlibc-*,
-altera-id-dependent-backward-branch,
misc-*,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
-misc-unused-parameters,
readability-*,
-readability-isolate-declaration,
-readability-named-parameter,
-readability-magic-numbers,
-readability-static-accessed-through-instance,
-readability-else-after-return,
cppcoreguidelines-*,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-static-cast-downcast,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-non-private-member-variables-in-classes,
'
WarningsAsErrors: ''
HeaderFilterRegex: 'src/.*$'
FormatStyle: file
CheckOptions:
- key: readability-identifier-length.MinimumParameterNameLength
value: 1
- key: readability-identifier-length.MinimumLoopCounterNameLength
value: 1
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: UPPER_CASE
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.ScopedEnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.ConstantMemberCase
value: camelBack
- key: readability-identifier-naming.ClassMethodCase
value: camelBack
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.VirtualMethodCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.UnionCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.GlobalConstantCase
value: camelBack
- key: readability-identifier-naming.NamespaceCase
value: CamelCase