-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.clang-tidy
90 lines (88 loc) · 4.25 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
Checks: >
-*,
bugprone-*,
google-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-easily-swappable-parameters,
-bugprone-exception-escape,
-bugprone-implicit-widening-of-multiplication-result,
-bugprone-unused-raii,
-misc-const-correctness,
-misc-non-private-member-variables-in-classes,
-misc-include-cleaner,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
-performance-enum-size,
-readability-identifier-length,
-readability-isolate-declaration,
-readability-function-cognitive-complexity,
-readability-magic-numbers,
-readability-named-parameter
WarningsAsErrors: "*"
HeaderFilterRegex: "(include/|src/).*"
CheckOptions:
misc-unused-parameters.IgnoreVirtual: true
modernize-type-traits.IgnoreMacros: true
readability-implicit-bool-conversion.AllowPointerConditions: true
readability-implicit-bool-conversion.AllowIntegerConditions: true
readability-identifier-naming.AbstractClassCase: CamelCase
readability-identifier-naming.ClassCase: CamelCase
readability-identifier-naming.ClassConstantCase: CamelCase
readability-identifier-naming.ClassMemberCase: CamelCase
readability-identifier-naming.ClassMemberPrefix: 'm'
readability-identifier-naming.ClassMethodCase: camelBack
readability-identifier-naming.ConstantCase: lower_case
readability-identifier-naming.ConstantMemberCase: lower_case
readability-identifier-naming.ConstantMemberSuffix: ''
readability-identifier-naming.ConstantParameterCase: lower_case
readability-identifier-naming.ConstantPointerParameterCase: lower_case
readability-identifier-naming.ConstexprFunctionCase: camelBack
readability-identifier-naming.ConstexprMethodCase: camelBack
readability-identifier-naming.ConstexprVariableCase: lower_case
readability-identifier-naming.EnumCase: CamelCase
readability-identifier-naming.EnumConstantCase: CamelCase
readability-identifier-naming.FunctionCase: aNy_CasE
readability-identifier-naming.GlobalConstantCase: UPPER_CASE
readability-identifier-naming.GlobalConstantPointerCase: CamelCase
readability-identifier-naming.GlobalVariableCase: CamelCase
readability-identifier-naming.GlobalVariablePrefix: 'g'
readability-identifier-naming.InlineNamespaceCase: CamelCase
readability-identifier-naming.LocalConstantCase: lower_case
readability-identifier-naming.LocalConstantPointerCase: lower_case
readability-identifier-naming.LocalPointerCase: lower_case
readability-identifier-naming.LocalVariableCase: lower_case
readability-identifier-naming.MacroDefinitionCase: UPPER_CASE
readability-identifier-naming.MemberCase: lower_case
readability-identifier-naming.MemberSuffix: '_'
readability-identifier-naming.MethodCase: camelBack
readability-identifier-naming.NamespaceCase: aNy_CasE
readability-identifier-naming.ParameterCase: lower_case
readability-identifier-naming.ParameterPackCase: lower_case
readability-identifier-naming.PointerParameterCase: lower_case
readability-identifier-naming.PrivateMemberCase: lower_case
readability-identifier-naming.PrivateMemberSuffix: '_'
readability-identifier-naming.PrivateMethodCase: camelBack
readability-identifier-naming.ProtectedMemberCase: lower_case
readability-identifier-naming.ProtectedMemberSuffix: '_'
readability-identifier-naming.ProtectedMethodCase: camelBack
readability-identifier-naming.PublicMemberCase: lower_case
readability-identifier-naming.PublicMemberSuffix: ''
readability-identifier-naming.PublicMethodCase: camelBack
readability-identifier-naming.ScopedEnumConstantCase: CamelCase
readability-identifier-naming.StaticConstantCase: lower_case
readability-identifier-naming.StaticVariableCase: lower_case
readability-identifier-naming.StructCase: CamelCase
readability-identifier-naming.TemplateParameterCase: CamelCase
readability-identifier-naming.TemplateTemplateParameterCase: CamelCase
readability-identifier-naming.TypeAliasCase: CamelCase
readability-identifier-naming.TypedefCase: CamelCase
readability-identifier-naming.TypeTemplateParameterCase: CamelCase
readability-identifier-naming.UnionCase: CamelCase
readability-identifier-naming.ValueTemplateParameterCase: CamelCase
readability-identifier-naming.VariableCase: lower_case
readability-identifier-naming.VirtualMethodCase: camelBack