-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-tidy
38 lines (37 loc) · 2.53 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
Checks: '
-*,
readability-identifier-naming,
readability-uppercase-literal-suffix,
cert-env33-c,cert-err34-c,cert-flp30-c,
bugprone-suspicious-string-compare,
bugprone-macro-parentheses,
misc-non-copyable-objects,
clang-analyzer-core.uninitialized.*,
clang-analyzer-unix.Malloc,
clang-analyzer-unix.MismatchedDeallocator
'
WarningsAsErrors: '*'
CheckOptions:
- { key: readability-identifier-naming.TypedefCase, value: CamelCase }
- { key: readability-identifier-naming.TypedefPrefix, value: cominit }
- { key: readability-identifier-naming.TypedefSuffix, value: _t }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.StructPrefix, value: cominit }
- { key: readability-identifier-naming.StructSuffix, value: _t }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.EnumPrefix, value: cominit }
- { key: readability-identifier-naming.EnumSuffix, value: _t }
- { key: readability-identifier-naming.UnionCase, value: CamelCase }
- { key: readability-identifier-naming.UnionPrefix, value: cominit }
- { key: readability-identifier-naming.UnionSuffix, value: _t }
- { key: readability-identifier-naming.FunctionCase, value: CamelCase }
- { key: readability-identifier-naming.FunctionPrefix, value: cominit }
- { 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.GlobalVariableCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalVariablePrefix, value: cominit }
- { key: readability-identifier-naming.GlobalConstantCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalConstantPrefix, value: cominit }
- { key: readability-uppercase-literal-suffix.IgnoreMacros, value: 0 }
- { key: readability-uppercase-literal-suffix.NewSuffixes, value: u;L;F;uL;LL;uLL;Lu;LLu }