34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
# Apply this style by doing
|
|
#
|
|
# clang-tidy -fix-errors -config= <source-files>
|
|
#
|
|
# Running the command without -fix-errors will generate warnings about each
|
|
# style violation but won't change them.
|
|
|
|
Checks: '-*,readability-identifier-naming'
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.MemberCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.MethodCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.NamespaceCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.ParameterCase
|
|
value: lower_case
|
|
- key: readability-identifier-naming.PrivateMemberCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.PrivateMemberPrefix
|
|
value: '_'
|
|
- key: readability-identifier-naming.StaticConstantCase
|
|
value: UPPER_CASE
|
|
- key: readability-identifier-naming.StructCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: lower_case
|