Cast expressions
Author: LGTM
import cpp
from Cast c
where
c.getExpr().getType() instanceof FloatingPointType and
c.getType() instanceof IntegralType
select cDescription
Finds casts from a floating point type to an integer type
import cpp
from Cast c
where
c.getExpr().getType() instanceof FloatingPointType and
c.getType() instanceof IntegralType
select cFinds casts from a floating point type to an integer type