-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
27 lines (27 loc) · 1.13 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
Checks: 'clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,modernize-*,bugprone-*,readability-identifier-naming,-modernize-use-trailing-return-type,misc-const-correctness'
CheckOptions:
# General Naming Convention: lower_case
- key: readability-identifier-naming.NamespaceCase
value: 'lower_case'
- key: readability-identifier-naming.ClassCase
value: 'lower_case'
- key: readability-identifier-naming.StructCase
value: 'lower_case'
- key: readability-identifier-naming.FunctionCase
value: 'lower_case'
- key: readability-identifier-naming.VariableCase
value: 'lower_case'
- key: readability-identifier-naming.PublicMemberCase
value: 'lower_case'
- key: readability-identifier-naming.PrivateMemberCase
value: 'lower_case'
- key: readability-identifier-naming.ProtectedMemberCase
value: 'lower_case'
- key: readability-identifier-naming.ConstantCase
value: 'lower_case'
# Member variables should end with '_'
- key: readability-identifier-naming.MemberSuffix
value: '_'
# Macros should be UPPER_CASE
- key: readability-identifier-naming.MacroDefinitionCase
value: 'UPPER_CASE'