-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
31 lines (31 loc) · 1.84 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
Checks:
- 'performance*,portability*,bugprone*,clang-analyzer*,cert*,concurrency*,readability*'
- '-bugprone-easily-swappable-parameters'
- '-performance-no-int-to-ptr'
- '-readability-braces-around-statements'
- '-readability-identifier-length'
- '-readability-implicit-bool-conversion'
- '-readability-magic-numbers'
CheckOptions:
- { key: readability-identifier-naming.VariableCase, value: lower_case }
- { key: readability-identifier-naming.ParameterCase, value: lower_case }
- { key: readability-identifier-naming.MemberCase, value: lower_case }
- { key: readability-identifier-naming.UnionCase, value: lower_case }
- { key: readability-identifier-naming.UnionSuffix, value: _t }
- { key: readability-identifier-naming.StructCase, value: lower_case }
- { key: readability-identifier-naming.StructSuffix, value: _t }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.EnumCase, value: lower_case }
- { key: readability-identifier-naming.EnumSuffix, value: _t }
- { key: readability-identifier-naming.EnumConstantCase, value: CamelCase }
- { key: readability-identifier-naming.EnumConstantPrefix, value: e }
- { key: readability-identifier-naming.TypedefCase, value: lower_case }
- { key: readability-identifier-naming.TypedefSuffix, value: _t }
- { key: readability-identifier-naming.GlobalConstantCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalConstantPrefix, value: k }
- { key: readability-identifier-naming.GlobalVariableCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalVariablePrefix, value: g }
- { key: readability-identifier-naming.ScopedEnumConstantCase, value: CamelCase }
- { key: readability-identifier-naming.ScopedEnumConstantPrefix, value: '' }
HeaderFileExtensions: ['h']
ImplementationFileExtensions: ['c']