-
Notifications
You must be signed in to change notification settings - Fork 13
/
.clang-tidy
91 lines (91 loc) · 3.19 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
HeaderFilterRegex: .*
Checks:
- -*
- bugprone-*
- clang-analyzer-*
- cppcoreguidelines-*
- hicpp-*
- misc-*
- modernize-*
- performance-*
- readability-*
- -bugprone-easily-swappable-parameters
- -bugprone-implicit-widening-of-multiplication-result
- -bugprone-integer-division
- -bugprone-macro-parentheses
- -bugprone-narrowing-conversions
- -bugprone-parent-virtual-call
- -bugprone-suspicious-missing-comma
- -bugprone-switch-missing-default-case
- -clang-analyzer-core.CallAndMessage
- -clang-analyzer-core.UndefinedBinaryOperatorResult
- -clang-analyzer-cplusplus.NewDeleteLeaks
- -clang-analyzer-optin.cplusplus.VirtualCall
- -clang-analyzer-security.FloatLoopCounter
- -cppcoreguidelines-avoid-c-arrays
- -cppcoreguidelines-avoid-do-while
- -cppcoreguidelines-avoid-goto
- -cppcoreguidelines-avoid-magic-numbers
- -cppcoreguidelines-explicit-virtual-functions
- -cppcoreguidelines-init-variables
- -cppcoreguidelines-macro-usage
- -cppcoreguidelines-narrowing-conversions
- -cppcoreguidelines-non-private-member-variables-in-classes
- -cppcoreguidelines-owning-memory
- -cppcoreguidelines-prefer-member-initializer
- -cppcoreguidelines-pro-bounds-array-to-pointer-decay
- -cppcoreguidelines-pro-bounds-constant-array-index
- -cppcoreguidelines-pro-bounds-pointer-arithmetic
- -cppcoreguidelines-pro-type-member-init
- -cppcoreguidelines-pro-type-reinterpret-cast
- -cppcoreguidelines-pro-type-static-cast-downcast
- -cppcoreguidelines-pro-type-union-access
- -cppcoreguidelines-pro-type-vararg
- -cppcoreguidelines-rvalue-reference-param-not-moved
- -cppcoreguidelines-special-member-functions
- -hicpp-avoid-c-arrays
- -hicpp-avoid-goto
- -hicpp-braces-around-statements
- -hicpp-deprecated-headers
- -hicpp-explicit-conversions
- -hicpp-member-init
- -hicpp-multiway-paths-covered
- -hicpp-named-parameter
- -hicpp-no-array-decay
- -hicpp-signed-bitwise
- -hicpp-special-member-functions
- -hicpp-use-emplace
- -hicpp-use-equals-default
- -hicpp-use-equals-delete
- -hicpp-use-override
- -hicpp-vararg
- -misc-const-correctness
- -misc-include-cleaner
- -misc-no-recursion
- -misc-non-private-member-variables-in-classes
- -misc-unused-parameters
- -modernize-pass-by-value
- -modernize-return-braced-init-list
- -modernize-use-constraints
- -modernize-use-default-member-init
- -modernize-use-nodiscard
- -modernize-use-trailing-return-type
- -modernize-use-using
- -performance-enum-size
- -performance-inefficient-string-concatenation
- -performance-inefficient-vector-operation
- -readability-avoid-const-params-in-decls
- -readability-avoid-nested-conditional-operator
- -readability-braces-around-statements
- -readability-convert-member-functions-to-static
- -readability-function-cognitive-complexity
- -readability-identifier-length
- -readability-implicit-bool-conversion
- -readability-inconsistent-declaration-parameter-name
- -readability-isolate-declaration
- -readability-magic-numbers
- -readability-named-parameter
- -readability-non-const-parameter
- -readability-qualified-auto
- -readability-redundant-access-specifiers
- -readability-simplify-boolean-expr