ddl/.clang-tidy
2019-12-12 14:41:47 +01:00

66 lines
4.1 KiB
YAML

Checks: '-*,readability-identifier-naming,readability-braces-around-statements'
WarningsAsErrors: 'readability-identifier-naming*,readability-braces-around-statements*'
HeaderFilterRegex: '.*'
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.InlineNamespaceCase, value: lower_case }
- { key: readability-identifier-naming.EnumConstantCase, value: lower_case }
- { key: readability-identifier-naming.ConstexprVariableCase, value: lower_case }
- { key: readability-identifier-naming.ConstantMemberCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberCase, value: lower_case }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: '_'}
- { key: readability-identifier-naming.ProtectedMemberCase, value: lower_case }
- { key: readability-identifier-naming.ProtectedMemberPrefix, value: '_'}
- { key: readability-identifier-naming.PublicMemberCase, value: lower_case }
- { key: readability-identifier-naming.PublicMemberPrefix, value: ''}
- { key: readability-identifier-naming.MemberCase, value: lower_case }
- { key: readability-identifier-naming.ClassConstantCase, value: lower_case }
- { key: readability-identifier-naming.ClassMemberCase, value: lower_case }
- { key: readability-identifier-naming.GlobalConstantCase, value: lower_case }
- { key: readability-identifier-naming.GlobalVariableCase, value: lower_case }
- { key: readability-identifier-naming.LocalConstantCase, value: lower_case }
- { key: readability-identifier-naming.LocalVariableCase, value: lower_case }
- { key: readability-identifier-naming.StaticConstantCase, value: lower_case }
- { key: readability-identifier-naming.StaticVariableCase, value: lower_case }
- { key: readability-identifier-naming.ConstantCase, value: lower_case }
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.ConstantParameterCase, value: lower_case }
- { key: readability-identifier-naming.ParameterPackCase, value: lower_case }
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
- { key: readability-identifier-naming.AbstractClassCase, value: lower_case }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.AbstractClassCase, value: CamelCase }
- { key: readability-identifier-naming.UnionCase, value: CamelCase } # not specified
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalFunctionCase, value: camelCase }
- { key: readability-identifier-naming.ConstexprFunctionCase, value: camelCase }
- { key: readability-identifier-naming.FunctionCase, value: camelCase }
- { key: readability-identifier-naming.ConstexprMethodCase, value: camelCase }
- { key: readability-identifier-naming.VirtualMethodCase, value: camelCase }
- { key: readability-identifier-naming.ClassMethodCase, value: camelCase }
- { key: readability-identifier-naming.PrivateMethodCase, value: camelCase }
- { key: readability-identifier-naming.ProtectedMethodCase, value: camelCase }
- { key: readability-identifier-naming.PublicMethodCase, value: camelCase }
- { key: readability-identifier-naming.MethodCase, value: camelCase }
- { key: readability-identifier-naming.TypedefCase, value: CamelCase }
- { key: readability-identifier-naming.UsingCase, value: CamelCase } # not specified
- { key: readability-identifier-naming.TypeAliasCase, value: CamelCase } # overrides using case
- { key: readability-identifier-naming.TypeTemplateParameterCase, value: UPPER_CASE }
- { key: readability-identifier-naming.ValueTemplateParameterCase, value: lower_case }
- { key: readability-identifier-naming.TemplateTemplateParameterCase, value: UPPER_CASE }
- { key: readability-identifier-naming.TemplateParameterCase, value: UPPER_CASE }
- { key: readability-identifier-naming.TypeAliasCase, value: CamelCase } # overrides using case
- { key: readability-identifier-naming.MacroDefinitionCase, value: UPPER_CASE }