Changeset View
Changeset View
Standalone View
Standalone View
lib/AST/Expr.cpp
Show First 20 Lines • Show All 1650 Lines • ▼ Show 20 Line(s) | 1564 | bool CastExpr::CastConsistency() const { | |||
---|---|---|---|---|---|
1651 | case CK_ARCReclaimReturnedObject: | 1651 | case CK_ARCReclaimReturnedObject: | ||
1652 | case CK_ARCExtendBlockObject: | 1652 | case CK_ARCExtendBlockObject: | ||
1653 | case CK_ZeroToOCLEvent: | 1653 | case CK_ZeroToOCLEvent: | ||
1654 | case CK_ZeroToOCLQueue: | 1654 | case CK_ZeroToOCLQueue: | ||
1655 | case CK_IntToOCLSampler: | 1655 | case CK_IntToOCLSampler: | ||
1656 | case CK_IntegralToFixedPoint: | 1656 | case CK_IntegralToFixedPoint: | ||
1657 | case CK_FixedPointCast: | 1657 | case CK_FixedPointCast: | ||
1658 | case CK_FixedPointToFloating: | 1658 | case CK_FixedPointToFloating: | ||
1659 | case CK_FloatingToFixedPoint: | ||||
1659 | assert(!getType()->isBooleanType() && "unheralded conversion to bool"); | 1660 | assert(!getType()->isBooleanType() && "unheralded conversion to bool"); | ||
1660 | goto CheckNoBasePath; | 1661 | goto CheckNoBasePath; | ||
1661 | 1662 | | |||
1662 | case CK_Dependent: | 1663 | case CK_Dependent: | ||
1663 | case CK_LValueToRValue: | 1664 | case CK_LValueToRValue: | ||
1664 | case CK_NoOp: | 1665 | case CK_NoOp: | ||
1665 | case CK_AtomicToNonAtomic: | 1666 | case CK_AtomicToNonAtomic: | ||
1666 | case CK_NonAtomicToAtomic: | 1667 | case CK_NonAtomicToAtomic: | ||
▲ Show 20 Lines • Show All 2496 Lines • Show Last 20 Lines |