41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
---
|
|
Checks: '-*,
|
|
bugprone-*,
|
|
modernize-deprecated-headers,
|
|
modernize-loop-convert,
|
|
modernize-pass-by-value,
|
|
modernize-redundant-void-arg,
|
|
modernize-use-auto,
|
|
modernize-use-emplace,
|
|
modernize-use-nullptr,
|
|
modernize-use-override,
|
|
performace-*,
|
|
readability-*,
|
|
-readability-magic-numbers, # Allow the usage of direct number literals in expressions
|
|
'
|
|
WarningsAsErrors: '*'
|
|
HeaderFilterRegex: 'include/minizinc/[A-Za-z].*'
|
|
FormatStyle: file
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.StructCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.MethodCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.ClassMethodCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.MemberCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.PrivateMemberCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.PrivateMemberPrefix
|
|
value: _
|
|
- key: readability-identifier-naming.ProtectedMemberCase
|
|
value: camelBack
|
|
- key: readability-identifier-naming.ProtectedMemberPrefix
|
|
value: _
|
|
...
|