-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-tidy
66 lines (66 loc) · 3.26 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
FormatStyle: 'file'
Checks: '*,
-llvmlibc-*,
-clang-analyzer-cplusplus.StringChecker,
-concurrency-mt-unsafe,
-cppcoreguidelines-prefer-member-initializer,
-readability-function-cognitive-complexity,
-bugprone-easily-swappable-parameters,
-readability-identifier-length,
-altera-id-dependent-backward-branch,
-altera-unroll-loops,
-altera-struct-pack-align,
-performance-inefficient-string-concatenation,
-readability-isolate-declaration,
-hicpp-special-member-functions,
-cppcoreguidelines-special-member-functions,
-bugprone-narrowing-conversions,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-pro-type-cstyle-cast,
-cert-dcl21-cpp,
-cppcoreguidelines-pro-type-vararg,
-hicpp-vararg,
-bugprone-exception-escape,
-fuchsia-default-arguments-declarations,
-misc-non-private-member-variables-in-classes,
-modernize-use-nodiscard,
-cppcoreguidelines-avoid-magic-numbers,
-readability-magic-numbers,
-modernize-use-trailing-return-type,
-fuchsia-default-arguments-calls,
-google-readability-braces-around-statements,
-hicpp-braces-around-statements,
-readability-braces-around-statements,
-readability-implicit-bool-conversion,
-llvm-header-guard,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-fuchsia-overloaded-operator,
-hicpp-signed-bitwise,
-readability-named-parameter,
-android-cloexec-dup,
-cppcoreguidelines-pro-bounds-constant-array-index,
-readability-static-accessed-through-instance'
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: lower_case
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.UnionCase
value: lower_case
- key: readability-identifier-naming.EnumCase
value: lower_case
- key: readability-identifier-naming.ClassMemberCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
- key: readability-identifier-naming.ProtectedMemberSuffix
value: _
- key: readability-identifier-naming.VariableCase
value: lower_case
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE