Inspectopedia Help

Implicit integer and enum conversion

Reports the cases when the expressions of the enum type are used in the context of an integer or pointer type or vice versa (assigned, cast, passed as a parameter, returned from a method, function, or block, and so on). You must explicitly cast one type to another to avoid the compiler warnings.

Inspection Details

Available in:

AppCode 2023.3

Plugin:

AppCode, 2023.3

Last modified: 13 July 2023