-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
50 lines (50 loc) · 1.69 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
FormatStyle: file
Checks: |
bugprone-*,
clang-analyzer-*,
clang-diagnostic-*,
cppcoreguidelines-*,
misc-*,
modernize-*,
performance-*,
readability-*,
google-*,
llvm-*,
-bugprone-easily-swappable-parameters,
-bugprone-unhandled-exception-at-new,
-cppcoreguidelines-avoid-do-while
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-avoid-reference-coroutine-parameters,
-cppcoreguidelines-special-member-functions,
-cppcoreguidelines-avoid-non-const-global-variables,
-cppcoreguidelines-owning-memory,
-cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-non-private-member-variables-in-classes,
-google-build-using-namespace,
-google-explicit-constructor,
-llvm-qualified-auto,
-llvm-else-after-return,
-readability-redundant-access-specifiers,
-readability-uppercase-literal-suffix,
-readability-identifier-length,
-readability-identifier-naming,
-readability-qualified-auto,
-readability-magic-numbers,
-readability-convert-member-functions-to-static,
-readability-else-after-return,
-misc-non-private-member-variables-in-classes,
-modernize-use-nodiscard,
WarningsAsErrors: '*'
AnalyzeTemporaryDtors: false
CheckOptions:
- key: modernize-use-equals-default.IgnoreMacros
value: false
- key: performance-for-range-copy.WarnOnAllAutoCopies
value: true
- key: performance-inefficient-string-concatenation.StrictMode
value: true
- key: performance-unnecessary-value-param.AllowedTypes
value: 'exception_ptr$;'
- key: readability-implicit-bool-conversion.AllowPointerConditions
value: true