-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-tidy
49 lines (43 loc) · 1.45 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
---
Checks: '
clang-analyzer-*,
performance-*,
-performance-enum-size,
portability-*,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-const-or-ref-data-members,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-bounds-constant-array-index,
-cppcoreguidelines-pro-type-cstyle-cast,
-cppcoreguidelines-init-variables,
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-narrowing-conversions,
-cppcoreguidelines-avoid-c-arrays,
-cppcoreguidelines-prefer-member-initializer,
-cppcoreguidelines-pro-bounds-array-to-pointer-decay,
-cppcoreguidelines-macro-usage,
# -cppcoreguidelines-pro-type-member-init,
modernize-*,
-modernize-use-trailing-return-type,
-modernize-use-using,
-modernize-use-designated-initializers,
-modernize-avoid-c-arrays,
readability-*,
-readability-magic-numbers,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-braces-around-statements,
-readability-make-member-function-const,
-readability-identifier-length,
-readability-implicit-bool-conversion,
-readability-uppercase-literal-suffix,
-readability-isolate-declaration,
-readability-math-missing-parentheses
'
CheckOptions:
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctionsWhenCopyIsDeleted
value: true
...