-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-tidy
62 lines (60 loc) · 3.31 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
---
Checks: "bugprone-*,
performance-*,
modernize-*,
readability-*,
# clang-analyzer-*,
# cppcoreguidelines-*,
misc-*,
# DISABLE SOME CHECKS:
-bugprone-easily-swappable-parameters,
-bugprone-reserved-identifier,
-performance-noexcept-move-constructor,
-modernize-avoid-c-arrays,
-modernize-use-auto,
-readability-magic-numbers,
-readability-identifier-length,
-readability-uppercase-literal-suffix,
-readability-function-cognitive-complexity,
-readability-convert-member-functions-to-static,
-readability-static-accessed-through-instance,
-readability-named-parameter,
-readability-function-cognitive-complexity,
-readability-else-after-return,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-macro-usage,
-misc-non-private-member-variables-in-classes,
-misc-unused-using-decls,
-misc-unconventional-assign-operator,
-misc-use-internal-linkage,
"
WarningsAsErrors: ''
HeaderFilterRegex: ^src
FormatStyle: file
CheckOptions:
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.MemberCase, value: lower_case }
- { key: readability-identifier-naming.FunctionCase, value: lower_case }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.StructCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: lower_case }
- { key: readability-identifier-naming.TypeAliasCase, value: lower_case }
- { key: readability-identifier-naming.TypedefCase, value: lower_case }
- { key: readability-identifier-naming.PointerParameterIgnoredRegexp, value: '(p+)_.*' }
- { key: readability-identifier-naming.PointerParameterPrefix, value: p_ }
- { key: readability-identifier-naming.LocalPointerIgnoredRegexp, value: '(_|((p+)_.*))' }
- { key: readability-identifier-naming.LocalPointerPrefix, value: p_ }
- { key: readability-identifier-naming.LocalConstantPointerIgnoredRegexp, value: '(_|((p+)_.*))' }
- { key: readability-identifier-naming.LocalConstantPointerPrefix, value: p_ }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ }
- { key: readability-identifier-naming.PrivateMemberIgnoredRegexp, value: '_' }
- { key: readability-identifier-length.IgnoredParameterNames, value: '[tuxy]' }
- { key: readability-identifier-naming.TemplateParameterIgnoredRegexp, value: '[A-Z]' }
- { key: readability-identifier-naming.TypeAliasIgnoredRegexp, value: '[A-Z]' }
- { key: readability-identifier-naming.TypedefIgnoredRegexp, value: '[A-Z]' }
- { key: performance-unnecessary-value-param.AllowedTypes, value: string;span;io_vector }
- { key: readability-operators-representation.BinaryOperators, value: '&&;&=;&;|;~;!;!=;||;|=;^;^=' }
...