-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
25 lines (25 loc) · 1.07 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
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-no-recursion,-misc-non-private-member-variables-in-classes,-llvm-include-order,-llvm-header-guard,readability-identifier-naming'
CheckOptions:
# the compile-time constants are all CamelCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.ConstexprVariableCase
value: camelBack
# the runtime variable are all lower_case
- key: readability-identifier-naming.MemberCase
value: lower_case
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.UnionCase
value: lower_case
- key: readability-identifier-naming.VariableCase
value: lower_case
# the control flow constants are all camelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberSuffix
value: _
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 1