Newer
Older
# based on https://github.com/frankaemika/libfranka/blob/master/.clang-tidy
User: fabian.reister
Checks: '
clang-diagnostic-*,
clang-analyzer-*,
-clang-analyzer-alpha*,
google-*,
-google-explicit-constructor,
-google-runtime-references,
-google-default-arguments,
misc-*,
-misc-throw-by-value-catch-by-reference,
-misc-non-private-member-variables-in-classes,
readability-*,
-readability-redundant-string-init,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-nodiscard,
-modernize-pass-by-value,
performance-*,
cppcoreguidelines-*,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-pro-type-member-init,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-narrowing-conversions
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
'
HeaderFilterRegex: '^.*(source|include).*$'
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.PublicMemberCase
value: camelBack
- key: readability-identifier-naming.ProtectedMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberSuffix
value: ''
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.MethodCase
value: camelBack
- key: readability-identifier-naming.ConstantPrefix
value: ''
- key: readability-identifier-naming.ConstantCase
value: CamelCase
- key: readability-identifier-naming.ConstantMemberPrefix
value: ''
- key: readability-identifier-naming.ConstantMemberCase
- key: readability-identifier-naming.ConstantParameterPrefix
value: ''
- key: readability-identifier-naming.ConstantParameterCase
value: camelBack
- key: readability-identifier-naming.LocalConstantParameterPrefix
value: ''
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.ConstexprVariablePrefix
value: ''
- key: readability-identifier-naming.ConstexprVariableCase
value: camelBack
- key: readabiltiy-identifier-naming.EnumConstantCase
value: CamelCase
- key: readabiltiy-identifier-naming.EnumConstantPrefix
value: ''
- key: readabiltiy-identifier-naming.EnumConstantSuffix
value: ''
- key: readabiltiy-identifier-naming.ClassMemberIgnoredRegexp
value: '*\_T\_*'
- key: readability-identifier-naming.ClassConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.LocalVariableIgnoredRegexp
value: '^.*_[T,R,V]_.*$'
- key: readability-identifier-naming.LocalConstantIgnoredRegexp
value: '^.*_[T,R,V]_.*$'