File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,12 @@ Options
44
44
45
45
.. option :: AllowedTypes
46
46
47
- A semicolon-separated list of type names that will be treated as ``char ``
48
- type. It only contains the non canonical type names without the alias of type
49
- names. Explicit casting to these types or use the variable defined with these
50
- types will be ignored.
47
+ A semicolon-separated list of type names that will be treated like the ``char ``
48
+ type: the check will not report variables declared with with these types or
49
+ explicit cast expressions to these types. Note that this distinguishes type
50
+ aliases from the original type, so specifying e.g. ``unsigned char `` here
51
+ will not suppress reports about ``uint8_t `` even if it is defined as a
52
+ ``typedef `` alias for ``unsigned char ``.
51
53
Default is `unsigned char;signed char `.
52
54
53
55
.. option :: CastTypeName
You can’t perform that action at this time.
0 commit comments