Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/include/clang/AST/OperationKinds.def
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Lines | |||||
/// CK_IntegralToBoolean - Integral to boolean. A check against zero. | /// CK_IntegralToBoolean - Integral to boolean. A check against zero. | ||||
/// (bool) i | /// (bool) i | ||||
CAST_OPERATION(IntegralToBoolean) | CAST_OPERATION(IntegralToBoolean) | ||||
/// CK_IntegralToFloating - Integral to floating point. | /// CK_IntegralToFloating - Integral to floating point. | ||||
/// float f = i; | /// float f = i; | ||||
CAST_OPERATION(IntegralToFloating) | CAST_OPERATION(IntegralToFloating) | ||||
/// CK_FixedPointCast - Fixed point to fixed point. | |||||
/// (_Accum) 0.5r | |||||
CAST_OPERATION(FixedPointCast) | |||||
/// CK_FloatingToIntegral - Floating point to integral. Rounds | /// CK_FloatingToIntegral - Floating point to integral. Rounds | ||||
/// towards zero, discarding any fractional component. | /// towards zero, discarding any fractional component. | ||||
/// (int) f | /// (int) f | ||||
CAST_OPERATION(FloatingToIntegral) | CAST_OPERATION(FloatingToIntegral) | ||||
/// CK_FloatingToBoolean - Floating point to boolean. | /// CK_FloatingToBoolean - Floating point to boolean. | ||||
/// (bool) f | /// (bool) f | ||||
CAST_OPERATION(FloatingToBoolean) | CAST_OPERATION(FloatingToBoolean) | ||||
▲ Show 20 Lines • Show All 208 Lines • Show Last 20 Lines |