stamen

Static Menu Generator
git clone git://git.dimitrijedobrota.com/stamen.git
Log | Files | Refs | README | LICENSE | HACKING | CONTRIBUTING | CODE_OF_CONDUCT | BUILDING

.clang-tidy (6737B)


0 ---
1 # Enable ALL the things! Except not really
2 # misc-non-private-member-variables-in-classes: the options don't do anything
3 # modernize-use-nodiscard: too aggressive, attribute is situationally useful
4 Checks: "*,\
5 -altera-*,\
6 -fuchsia-*,\
7 -llvmlibc-*,\
8 -*-avoid-goto,\
9 -*-braces-around-statements,\
10 -*-c-arrays,\
11 -*-vararg,\
12 -*-array*decay,\
13 -bugprone-argument-comment,\
14 -bugprone-easily-swappable-parameters,\
15 -cert-dcl50-cpp,\
16 -concurrency-mt-unsafe,\
17 -cppcoreguidelines-avoid-magic-numbers,\
18 -fuchsia-multiple-inheritance,\
19 -hicpp-signed-bitwise,\
20 -llvm-header-guard,\
21 -llvm-include-order,\
22 -misc-no-recursion,\
23 -misc-non-private-member-variables-in-classes,\
24 -modernize-use-nodiscard,\
25 -modernize-use-trailing-return-type,\
26 -readability-function-cognitive-complexity,\
27 -readability-magic-numbers
28 "
29 WarningsAsErrors: ''
30 CheckOptions:
31 - key: 'bugprone-argument-comment.StrictMode'
32 value: 'true'
33 # Prefer using enum classes with 2 values for parameters instead of bools
34 - key: 'bugprone-argument-comment.CommentBoolLiterals'
35 value: 'true'
36 - key: 'bugprone-misplaced-widening-cast.CheckImplicitCasts'
37 value: 'true'
38 - key: 'bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression'
39 value: 'true'
40 - key: 'bugprone-suspicious-string-compare.WarnOnLogicalNotComparison'
41 value: 'true'
42 - key: 'readability-simplify-boolean-expr.ChainedConditionalReturn'
43 value: 'true'
44 - key: 'readability-simplify-boolean-expr.ChainedConditionalAssignment'
45 value: 'true'
46 - key: 'readability-uniqueptr-delete-release.PreferResetCall'
47 value: 'true'
48 - key: 'cppcoreguidelines-init-variables.MathHeader'
49 value: '<cmath>'
50 - key: 'cppcoreguidelines-narrowing-conversions.PedanticMode'
51 value: 'true'
52 - key: 'readability-else-after-return.WarnOnUnfixable'
53 value: 'true'
54 - key: 'readability-else-after-return.WarnOnConditionVariables'
55 value: 'true'
56 - key: 'readability-inconsistent-declaration-parameter-name.Strict'
57 value: 'true'
58 - key: 'readability-qualified-auto.AddConstToQualified'
59 value: 'true'
60 - key: 'readability-redundant-access-specifiers.CheckFirstDeclaration'
61 value: 'true'
62 # These seem to be the most common identifier styles
63 - key: 'readability-identifier-naming.AbstractClassCase'
64 value: 'lower_case'
65 - key: 'readability-identifier-naming.ClassCase'
66 value: 'lower_case'
67 - key: 'readability-identifier-naming.ClassConstantCase'
68 value: 'lower_case'
69 - key: 'readability-identifier-naming.ClassMemberCase'
70 value: 'lower_case'
71 - key: 'readability-identifier-naming.ClassMethodCase'
72 value: 'lower_case'
73 - key: 'readability-identifier-naming.ConstantCase'
74 value: 'lower_case'
75 - key: 'readability-identifier-naming.ConstantMemberCase'
76 value: 'lower_case'
77 - key: 'readability-identifier-naming.ConstantParameterCase'
78 value: 'lower_case'
79 - key: 'readability-identifier-naming.ConstantPointerParameterCase'
80 value: 'lower_case'
81 - key: 'readability-identifier-naming.ConstexprFunctionCase'
82 value: 'lower_case'
83 - key: 'readability-identifier-naming.ConstexprMethodCase'
84 value: 'lower_case'
85 - key: 'readability-identifier-naming.ConstexprVariableCase'
86 value: 'lower_case'
87 - key: 'readability-identifier-naming.EnumCase'
88 value: 'CamelCase'
89 - key: 'readability-identifier-naming.EnumConstantCase'
90 value: 'CamelCase'
91 - key: 'readability-identifier-naming.FunctionCase'
92 value: 'lower_case'
93 - key: 'readability-identifier-naming.GlobalConstantCase'
94 value: 'lower_case'
95 - key: 'readability-identifier-naming.GlobalConstantPointerCase'
96 value: 'lower_case'
97 - key: 'readability-identifier-naming.GlobalFunctionCase'
98 value: 'lower_case'
99 - key: 'readability-identifier-naming.GlobalPointerCase'
100 value: 'lower_case'
101 - key: 'readability-identifier-naming.GlobalVariableCase'
102 value: 'lower_case'
103 - key: 'readability-identifier-naming.InlineNamespaceCase'
104 value: 'lower_case'
105 - key: 'readability-identifier-naming.LocalConstantCase'
106 value: 'lower_case'
107 - key: 'readability-identifier-naming.LocalConstantPointerCase'
108 value: 'lower_case'
109 - key: 'readability-identifier-naming.LocalPointerCase'
110 value: 'lower_case'
111 - key: 'readability-identifier-naming.LocalVariableCase'
112 value: 'lower_case'
113 - key: 'readability-identifier-naming.MacroDefinitionCase'
114 value: 'UPPER_CASE'
115 - key: 'readability-identifier-naming.MemberCase'
116 value: 'lower_case'
117 - key: 'readability-identifier-naming.MethodCase'
118 value: 'lower_case'
119 - key: 'readability-identifier-naming.NamespaceCase'
120 value: 'lower_case'
121 - key: 'readability-identifier-naming.ParameterCase'
122 value: 'lower_case'
123 - key: 'readability-identifier-naming.ParameterPackCase'
124 value: 'lower_case'
125 - key: 'readability-identifier-naming.PointerParameterCase'
126 value: 'lower_case'
127 - key: 'readability-identifier-naming.PrivateMemberCase'
128 value: 'lower_case'
129 - key: 'readability-identifier-naming.PrivateMemberPrefix'
130 value: 'm_'
131 - key: 'readability-identifier-naming.PrivateMethodCase'
132 value: 'lower_case'
133 - key: 'readability-identifier-naming.ProtectedMemberCase'
134 value: 'lower_case'
135 - key: 'readability-identifier-naming.ProtectedMemberPrefix'
136 value: 'm_'
137 - key: 'readability-identifier-naming.ProtectedMethodCase'
138 value: 'lower_case'
139 - key: 'readability-identifier-naming.PublicMemberCase'
140 value: 'lower_case'
141 - key: 'readability-identifier-naming.PublicMethodCase'
142 value: 'lower_case'
143 - key: 'readability-identifier-naming.ScopedEnumConstantCase'
144 value: 'CamelCase'
145 - key: 'readability-identifier-naming.StaticConstantCase'
146 value: 'lower_case'
147 - key: 'readability-identifier-naming.StaticVariableCase'
148 value: 'lower_case'
149 - key: 'readability-identifier-naming.StructCase'
150 value: 'lower_case'
151 - key: 'readability-identifier-naming.TemplateParameterCase'
152 value: 'CamelCase'
153 - key: 'readability-identifier-naming.TemplateTemplateParameterCase'
154 value: 'CamelCase'
155 - key: 'readability-identifier-naming.TypeAliasCase'
156 value: 'lower_case'
157 - key: 'readability-identifier-naming.TypedefCase'
158 value: 'lower_case'
159 - key: 'readability-identifier-naming.TypeTemplateParameterCase'
160 value: 'CamelCase'
161 - key: 'readability-identifier-naming.TypeTemplateParameterIgnoredRegexp'
162 value: 'expr-type'
163 - key: 'readability-identifier-naming.UnionCase'
164 value: 'lower_case'
165 - key: 'readability-identifier-naming.ValueTemplateParameterCase'
166 value: 'CamelCase'
167 - key: 'readability-identifier-naming.VariableCase'
168 value: 'lower_case'
169 - key: 'readability-identifier-naming.VirtualMethodCase'
170 value: 'lower_case'
171 ...