-
Notifications
You must be signed in to change notification settings - Fork 24
/
.clangd
61 lines (61 loc) · 2.89 KB
/
.clangd
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
Diagnostics:
ClangTidy:
Add: [readability-braces-around-statements,
readability-identifier-naming,
misc*,google*,
clang-analyzer-nullability*,
clang-analyzer-*, cert-*,
bugprone-*,
cppcoreguidelines-*,
modernize-deprecated-headers,
modernize-loop-convert,
modernize-use-default-member-init,
concurrency-*,
performance-*]
Remove: [google-build-using-namespace,
bugprone-undefined-memory-manipulation,
cppcoreguidelines-pro-type-union-access,
cppcoreguidelines-pro-type-member-init,
misc-no-recursion,
cert-env33-c,
cert-err34-c,
cert-err58-cpp,
cert-msc*,
concurrency-mt-unsafe,
cppcoreguidelines-no-malloc,
cppcoreguidelines-owning-memory,
cppcoreguidelines-special-member-functions,
google-readability-todo,
bugprone-easily-swappable-parameters,
cppcoreguidelines-pro-bounds-constant-array-index,
cppcoreguidelines-explicit-virtual-functions,
cppcoreguidelines-virtual-class-destructor,
cppcoreguidelines-pro-type-reinterpret-cast,
google-explicit-constructor,
cppcoreguidelines-pro-bounds-array-to-pointer-decay,
cppcoreguidelines-pro-bounds-pointer-arithmetic,
cppcoreguidelines-pro-type-vararg,
cppcoreguidelines-avoid-magic-numbers,
cppcoreguidelines-avoid-c-arrays,
cppcoreguidelines-avoid-non-const-global-variables,
cppcoreguidelines-non-private-member-variables-in-classes]
CheckOptions:
misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 1
modernize-loop-convert.MinConfidence: risky
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.GlobalVariableCase: lower_case
readability-identifier-naming.ClassMemberCase: lower_case
readability-identifier-naming.ClassMemberSuffix: _
readability-identifier-naming.PrivateMemberCase: lower_case
readability-identifier-naming.PrivateMemberSuffix: _
readability-identifier-naming.ProtectedMemberCase: lower_case
readability-identifier-naming.ProtectedMemberSuffix: _
readability-identifier-naming.EnumCase: UPPER_CASE
readability-identifier-naming.EnumConstantCase: UPPER_CASE
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.ConstantCase: UPPER_CASE
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.StructCase : CamelCase
readability-identifier-naming.FunctionCase: lower_case
readability-identifier-naming.ClassMethodCase: CamelCase
readability-identifier-naming.MethodCase: CamelCase