-
Notifications
You must be signed in to change notification settings - Fork 5
/
.clang-tidy
51 lines (47 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
# Here is an explanation for why some of the checks are disabled:
#
# -readability-identifier-length:
# : We want to enable this but this requires large cleanup efforts.
#
# -readability-convert-member-functions-to-static:
# : This wants to put 'static' in the inlined function defined outside the class definition
# but 'static' must be specified inside the class definition.
Checks: >
-*,
readability-*,
-readability-avoid-const-params-in-decls,
-readability-magic-numbers,-warnings-as-errors,
-readability-isolate-declaration,
-readability-avoid-unconditional-preprocessor-if,
-readability-identifier-length,
-readability-convert-member-functions-to-static,
-readability-named-parameter,
bugprone-*,
-bugprone-signal-handler,
cert-*,
-cert-err58-cpp,
-cert-msc51-cpp,
WarningsAsErrors: '*'
# HeaderFilterRegex: ''
CheckOptions:
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.FunctionIgnoredRegexp
value: 'name|message|make_error_code'
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassIgnoredRegexp
value: 'is_error_condition_enum'
- key: readability-identifier-naming.MemberCase
value: aNy_CasE
- key: readability-identifier-naming.MemberSuffix
value: _
- key: readability-identifier-naming.ClassConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-implicit-bool-conversion.AllowIntegerConditions
value: 1
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: 1