-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-tidy
43 lines (34 loc) · 2.42 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
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,modernize-*,-modernize-use-trailing-return-type,cppcoreguidelines-*,performance-*,portability-*,readability-*'
WarningsAsErrors: '*'
HeaderFilterRegex: '*.h'
AnalyzeTemporaryDtors: false
FormatStyle: file
User: mail
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.AbstractClassCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.UnionCase, value: CamelCase }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.VariableCase, value: camelBack }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
# - { key: readability-identifier-naming.GlobalConstantPrefix, value: m_ }
- { key: readability-identifier-naming.GlobalConstantPointerCase, value: UPPER_CASE }
# - { key: readability-identifier-naming.GlobalConstantPointerPrefix, value: m_ }
- { key: readability-identifier-naming.GlobalPointerCase, value: camelBack }
# - { key: readability-identifier-naming.GlobalPointerPrefix, value: m_ }
- { key: readability-identifier-naming.GlobalVariableCase, value: camelBack }
# - { key: readability-identifier-naming.GlobalVariablePrefix, value: m_ }
- { key: readability-identifier-naming.TemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.TemplateTemplateParameterCase, value: CamelCase }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: _ }
- { key: readability-identifier-naming.PrivateMemberCase, value: camelBack }
- { key: readability-identifier-naming.PublicMemberCase, value: camelBack }
- { key: readability-identifier-naming.ProtectedMemberCase, value: camelBack }
- { key: readability-identifier-naming.MemberCase, value: camelBack }
- { key: readability-identifier-naming.ConstantParameterCase, value: camelBack }
- { key: readability-identifier-naming.ConstantPointerParameterCase, value: camelBack }
- { key: readability-identifier-naming.ParameterCase, value: camelBack }
- { key: readability-identifier-naming.PointerParameterCase, value: camelBack }
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }