-
Notifications
You must be signed in to change notification settings - Fork 11
/
.clang-tidy
72 lines (72 loc) · 2.2 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
Checks: '*,
clang-analyzer-*,
clang-diagnostic-*,
-abseil-*,
-altera-*,
-android-*,
-bugprone-suspicious-include,
-clang-analyzer-alpha.core.CastToStruct,
-clang-analyzer-alpha.deadcode.UnreachableCode,
-clang-analyzer-alpha*,
-clang-analyzer-core.CallAndMessage,
-clang-analyzer-core.NonNullParamChecker,
-clang-analyzer-cplusplus.NewDeleteLeaks,
-clang-analyzer-optin.core.EnumCastOutOfRange,
-clang-diagnostic-gnu-zero-variadic-macro-arguments,
-cppcoreguidelines-*,
-fuchsia-*,
-google-*,
-hicpp-*,
-llvm-*,
-llvm-include-order,
-llvm-namespace-comment,
-llvmlibc-*,
-misc-include-cleaner,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-modernize-loop-convert,
-modernize-pass-by-value,
-modernize-raw-string-literal,
-modernize-return-braced-init-list,
-modernize-use-bool-literals,
-modernize-use-default-member-init,
-modernize-use-default,
-modernize-use-emplace,
-modernize-use-equals-default,
-modernize-use-override,
-modernize-use-trailing-return-type,
-modernize-use-using,
-readability-braces-around-statements,
-readability-else-after-return,
-readability-function-cognitive-complexity,
-readability-identifier-length,
-readability-implicit-bool-cast,
-readability-implicit-bool-conversion,
-readability-magic-numbers,
-readability-named-parameter,
-readability-qualified-auto,
-readability-uppercase-literal-suffix,
-readabilty-namespace-comments'
WarningsAsErrors: ''
HeaderFilterRegex: ''
CheckOptions:
- key: cert-oop11-cpp.UseCERTSemantics
value: '1'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: readability-braces-around-statements.ShortStatementLines
value: '3'
- key: bugprone-easily-swappable-parameters.IgnoredParameterNames
value: 'x;y'
...