-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clangd
70 lines (69 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
62
63
64
65
66
67
68
69
70
CompileFlags:
Add: [-xc++, -Wall]
Remove: -W*
Diagnostics:
ClangTidy:
Add: [
bugprone-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
cppcoreguidelines-*,
hicpp-*
]
Remove: [
cppcoreguidelines-pro-type-reinterpret-cast,
cppcoreguidelines-non-private-member-variables-in-classes,
cppcoreguidelines-pro-bounds-constant-array-index,
cppcoreguidelines-pro-bounds-array-to-pointer-decay,
hicpp-signed-bitwise,
hicpp-avoid-c-arrays,
cppcoreguidelines-avoid-c-arrays,
hicpp-no-array-decay,
google-readability-braces-around-statements,
google-readability-namespace-comments,
google-runtime-references,
misc-non-private-member-variables-in-classes,
modernize-return-braced-init-list,
modernize-use-trailing-return-type,
modernize-avoid-c-arrays,
performance-move-const-arg,
readability-braces-around-statements,
readability-magic-numbers,
readability-named-parameter,
readability-redundant-declaration,
readability-function-cognitive-complexity,
bugprone-narrowing-conversions
]
CheckOptions:
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.TemplateParameterCase: CamelCase
readability-identifier-naming.ClassMemberCase: lower_case
readability-identifier-naming.ClassMethodCase: CamelCase
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.EnumConstantCase: CamelCase
readability-identifier-naming.EnumConstantPrefix: k
readability-identifier-naming.FunctionCase: CamelCase
readability-identifier-naming.GlobalConstantCase: CamelCase
readability-identifier-naming.GlobalConstantPrefix: k
readability-identifier-naming.StaticConstantCase: CamelCase
readability-identifier-naming.StaticConstantPrefix: k
readability-identifier-naming.StaticVariableCase: CamelCase
readability-identifier-naming.StaticVariablePrefix: k
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.MemberCase: lower_case
readability-identifier-naming.MemberSuffix: _
readability-identifier-naming.NamespaceCase: lower_case
readability-identifier-naming.ParameterCase: lower_case
readability-identifier-naming.TypeAliasCase: CamelCase
readability-identifier-naming.TypedefCase: CamelCase
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.IgnoreMainLikeFunctions: 1
readability-identifier-naming.ConstexprVariableCase: CamelCase
readability-identifier-naming.ConstexprVariablePrefix: k
readability-identifier-naming.MemberConstantCase: CamelCase
readability-identifier-naming.MemberConstantPrefix: k