forked from xournalpp/xournalpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
136 lines (136 loc) · 5.66 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Checks: "cppcoreguidelines-*,\
modernize-*,\
misc*,\
performance*,\
bug*,\
-*-magic-numbers,\
-*-non-private-member-variables-in-classes,\
-cert-err58-cpp,\
-cert-msc32-c,\
-cert-msc51-cpp,\
-clang-analyzer-alpha*,\
-clang-analyzer-optin.osx*,\
-clang-analyzer-optin.cplusplus.VirtualCall,\
-clang-analyzer-osx*,\
-cppcoreguidelines-owning-memory,\
-cppcoreguidelines-pro-bounds-pointer-arithmetic,\
-cppcoreguidelines-pro-type-cstyle-cast,\
-cppcoreguidelines-pro-type-reinterpret-cast,\
-cppcoreguidelines-pro-type-union-access,\
-cppcoreguidelines-pro-type-vararg,\
-fuchsia-overloaded-operator,\
-fuchsia-default-arguments,\
-fuchsia-statically-constructed-objects,\
-fuchsia-multiple-inheritance,\
-fuchsia-default-arguments-calls,\
-fuchsia-trailing-return,\
-google-build-using-namespace,\
-google-runtime-references,\
-hicpp-vararg,\
-hicpp-multiway-paths-covered,\
-hicpp-deprecated-headers,\
-hicpp-uppercase-literal-suffix,\
-llvm-include-order,\
-llvm-header-guard,\
-misc-unused-parameters,\
-misc-use-anonymous-namespace,\
-misc-move-const-arg,\
-modernize-use-nodiscard,\
-portability-simd-intrinsics,\
-readability-identifier-naming,\
-readability-named-parameter,\
-readability-implicit-bool-cast,\
-readability-implicit-bool-conversion,\
-readability-isolate-declaration"
#WarningsAsErrors: '*'
HeaderFilterRegex: '*.(h|hpp|hxx)'
AnalyzeTemporaryDtors: false
CheckOptions:
- key: readability-identifier-naming.AbstractClassCase
value: CamelCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassConstantCase
value: aNy_CasE
- key: readability-identifier-naming.ConstantCase
value: aNy_CasE
- key: readability-identifier-naming.ConstantMemberCase
value: aNy_CasE
- key: readability-identifier-naming.ConstantParameterCase
value: aNy_CasE
- key: readability-identifier-naming.ConstexprFunctionCase
value: aNy_CasE
- key: readability-identifier-naming.ConstexprMethodCase
value: aNy_CasE
- key: readability-identifier-naming.ConstexprVariableCase
value: aNy_CasE
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.GlobalConstantCase
value: aNy_CasE
- key: readability-identifier-naming.GlobalFunctionCase
value: camelBack
- key: readability-identifier-naming.GlobalVariableCase
value: aNy_CasE
- key: readability-identifier-naming.InlineNamespaceCase
value: CamelCase
- key: readability-identifier-naming.LocalConstantCase
value: aNy_CasE
- key: readability-identifier-naming.LocalVariableCase
value: aNy_CasE
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.NamespaceCase
value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.StaticConstantCase
value: aNy_CasE
- key: readability-identifier-naming.StaticVariableCase
value: camelBack
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.TemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.TemplateTemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.TypeTemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.ValueTemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: cert-oop11-cpp.IncludeStyle
value: 'google'
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: '1'
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: '1'
- key: readability-implicit-bool-cast.AllowIntegerConditions
value: '1'
- key: readability-implicit-bool-cast.AllowPointerConditions
value: '1'
- key: readability-braces-around-statements.ShortStatementLines
value: '1'
- key: llvm-namespace-comment.ShortNamespaceLines
value: '10'
- key: llvm-namespace-comment.SpacesBeforeComments
value: '2'
- key: misc-assert-side-effect.AssertMacros
value: assert
- key: cppcoreguidelines-macro-usage.AllowedRegexp
value: DEBUG*|GTK_*|GDK_*|G_*|RELEASE*|assert|g_assert*
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: '1'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
value: '1'