File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
#include " BoolPointerImplicitConversionCheck.h"
18
18
#include " BranchCloneCheck.h"
19
19
#include " CapturingThisInMemberVariableCheck.h"
20
- #include " CastingThroughVoidCheck.h"
21
20
#include " CastToStructCheck.h"
21
+ #include " CastingThroughVoidCheck.h"
22
22
#include " ChainedComparisonCheck.h"
23
23
#include " ComparePointerToMemberVirtualFunctionCheck.h"
24
24
#include " CopyConstructorInitCheck.h"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Limitations
38
38
39
39
The check does run only on `C ` code.
40
40
41
- C-style casts are discouraged in ` C++ ` and should be converted to more type-safe
41
+ C-style casts are discouraged in C++ and should be converted to more type-safe
42
42
casts. The ``reinterpreted_cast `` is used for the most unsafe cases and
43
43
indicates by itself a potentially dangerous operation. Additionally, inheritance
44
44
and dynamic types would make such a check less useful.
@@ -52,7 +52,7 @@ Options
52
52
types to ignore. The list should contain pairs of type names in a way that
53
53
the first type is the "from" type, the second is the "to" type in a cast
54
54
expression. The types in a pair and the pairs itself are separated by
55
- `` ; `` characters. For example `` char;Type1;char;Type2 ` ` specifies that the
55
+ `; ` characters. For example `char;Type1;char;Type2 ` specifies that the
56
56
check does not produce warning for casts from ``char * `` to ``Type1 * `` and
57
57
casts from ``char * `` to ``Type2 * ``. The list entries can be regular
58
58
expressions. The type name in the cast expression is matched without
You can’t perform that action at this time.
0 commit comments