-
Notifications
You must be signed in to change notification settings - Fork 7
/
.clang-tidy
39 lines (39 loc) · 1.55 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
Checks: '
bugprone-*,
clang-analyzer-*,
google-*,
modernize-*,
performance-*,
portability-*,
readability-*,
-bugprone-macro-parentheses,
-bugprone-suspicious-semicolon,
-clang-analyzer-deadcode.DeadStores,
-google-readability-braces-around-statements,
-google-readability-namespace-comments,
-google-runtime-references,
-readability-braces-around-statements,
-modernize-use-trailing-return-type,
-modernize-avoid-c-arrays,
'
WarningsAsErrors: '*'
HeaderFilterRegex: '$(benchmark|src|test)/include'
CheckOptions:
- key: google-runtime-references.WhiteListTypes
value: ev::io
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.PrivateMemberSuffix
value: '_'
- key: readability-identifier-naming.ParameterCase
value: lower_case
- key: readability-identifier-naming.NamespaceCase
value: lower_case
- key: readability-identifier-naming.InlineNamespaceCase
value: lower_case
- key: readability-identifier-naming.GlobalConstantCase
value: CamelCase
- key: readability-identifier-naming.GlobalConstantPrefix
value: 'k'