-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
25 lines (25 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
---
Checks: 'clang-analyzer-*,-clang-analyzer-alpha.*,modernize-*,readability-*,-readability-braces-around-statements,-readability-function-cognitive-complexity'
WarningsAsErrors: '*'
HeaderFilterRegex: '^(src|examples)/.*'
CheckOptions:
- key: readability-identifier-naming.NamespaceCase
value: CamelCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: camelBack
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.PrivateMemberPrefix
value: m_
- key: modernize-use-nullptr.NullMacros
value: NULL
- key: modernize-use-nullptr.ReplaceMacros
value: true
- key: readability-magic-numbers.IgnoredValues
value: '0, 1, -1'