-
Notifications
You must be signed in to change notification settings - Fork 47
/
.clang-tidy
91 lines (85 loc) · 2.86 KB
/
.clang-tidy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
WarningsAsErrors: ''
HeaderFilterRegex: '.*/src/marnav.*|.*/include/marnav.*|.*/test/marnav.*'
Checks: >
-*,
modernize-avoid-bind,
modernize-concat-nested-namespaces,
modernize-deprecated-headers,
modernize-deprecated-ios-base-aliases,
modernize-loop-convert,
modernize-macro-to-enum,
modernize-make-shared,
modernize-make-unique,
modernize-raw-string-literal,
modernize-redundant-void-arg,
modernize-replace-auto-ptr,
modernize-replace-disallow-copy-and-assign-macro,
modernize-replace-random-shuffle,
modernize-return-braced-init-list,
modernize-shrink-to-fit,
modernize-unary-static-assert,
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-default-member-init,
modernize-use-emplace,
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-noexcept,
modernize-use-nullptr,
modernize-use-override,
modernize-use-transparent-functors,
modernize-use-uncaught-exceptions,
modernize-use-using,
readability-identifier-naming
CheckOptions:
- key: readability-idenfier-name.VariableCase
value: lower_case
- key: readability-idenfier-name.ConstantCase
value: lower_case
- key: readability-idenfier-name.StaticConstantCase
value: lower_case
- key: readability-idenfier-name.GlobalVariableCase
value: lower_case
# structs and classes
- key: readability-identifier-naming.StructCase
value: lower_case
- key: readability-identifier-naming.ClassCase
value: lower_case
#- key: readability-identifier-naming.ConstantMemberCase
# value: lower_case
#- key: readability-identifier-naming.ClassConstantCase
# value: lower_case
#- key: readability-identifier-naming.ClassMemberCase
# value: lower_case
- key: readability-identifier-naming.ClassMethodCase
value: lower_case
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
# enums
- key: readability-identifier-naming.EnumCase
value: lower_case
#- key: readability-identifier-naming.EnumConstantCase
# value: lower_case
#- key: readability-identifier-naming.ScopedEnumCase
# value: lower_case
#- key: readability-identifier-naming.ScopedEnumConstantCase
# value: lower_case
# functions
- key: readability-identifier-naming.FunctionCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.ParameterSuffix
value: ''
- key: readability-identifier-naming.PointerParameterCase
value: lower_case
- key: readability-identifier-naming.PointerParameterPrefix
value: ''
- key: readability-identifier-naming.PointerParameterSuffix
value: ''
- key: readability-identifier-naming.ConstantPointerParameterCase
value: lower_case
- key: readability-identifier-naming.ConstantPointerParameterPrefix
value: ''
- key: readability-identifier-naming.ConstantPointerParameterSuffix
value: ''