-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
54 lines (54 loc) · 1.67 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
Checks: >
bugprone-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
fuchsia-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
llvm-*,
-llvm-header-guard,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-avoid-const-or-ref-data-members
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-fuchsia-default-arguments-calls,
-cppcoreguidelines-virtual-class-destructor,
-bugprone-easily-swappable-parameters,
-readability-identifier-length,
-clang-diagnostic-unused-command-line-argument,
-modernize-use-trailing-return-type,
-fuchsia-trailing-return,
-cppcoreguidelines-pro-type-vararg,
-*-magic-numbers
WarningsAsErrors: "*"
FormatStyle: file
CheckOptions:
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
value: true
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value: lower_case
# - key: readability-identifier-naming.GlobalVariablePrefix
# value: g_
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberPrefix
value: m_
- key: readability-identifier-naming.ProtectedMemberPrefix
value: m_
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: modernize-use-using.IgnoreExternC
value: true