reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExprCXX.cpp
 3905     assert(!ToType->isReferenceType());
 3913           /*FIXME:ConstructLoc*/ SourceLocation(), ToType,
 3920         /*FIXME:ConstructLoc*/ SourceLocation(), ToType,
 3930     FunctionDecl *Fn = ResolveAddressOfOverloadedFunction(From, ToType,
 3945   if (const AtomicType *ToAtomic = ToType->getAs<AtomicType>()) {
 3946     ToAtomicType = ToType;
 3947     ToType = ToAtomic->getValueType();
 4002       if (CheckExceptionSpecCompatibility(From, ToType))
 4017     if (ToType->isBooleanType()) {
 4021       From = ImpCastExprToType(From, ToType, CK_IntegralToBoolean,
 4024       From = ImpCastExprToType(From, ToType, CK_IntegralCast,
 4031     From = ImpCastExprToType(From, ToType, CK_FloatingCast,
 4038     QualType ToEl = ToType->castAs<ComplexType>()->getElementType();
 4050     From = ImpCastExprToType(From, ToType, CK,
 4056     if (ToType->isRealFloatingType())
 4057       From = ImpCastExprToType(From, ToType, CK_IntegralToFloating,
 4060       From = ImpCastExprToType(From, ToType, CK_FloatingToIntegral,
 4065       From = ImpCastExprToType(From, ToType, CK_NoOp,
 4076             << ToType << From->getType() << Action << From->getSourceRange()
 4081             << From->getType() << ToType << Action << From->getSourceRange()
 4085           ToType->isObjCObjectPointerType())
 4088                !CheckObjCARCUnavailableWeakConversion(ToType,
 4094             << (Action == AA_Casting) << From->getType() << ToType
 4100     if (CheckPointerConversion(From, ToType, Kind, BasePath, CStyle))
 4111       CheckObjCConversion(SourceRange(), ToType, From, CCK);
 4112     From = ImpCastExprToType(From, ToType, Kind, VK_RValue, &BasePath, CCK)
 4120     if (CheckMemberPointerConversion(From, ToType, Kind, BasePath, CStyle))
 4122     if (CheckExceptionSpecCompatibility(From, ToType))
 4129       (void)isCompleteType(From->getExprLoc(), ToType);
 4132     From = ImpCastExprToType(From, ToType, Kind, VK_RValue, &BasePath, CCK)
 4152             From->getType(), ToType.getNonReferenceType(), From->getBeginLoc(),
 4156     From = ImpCastExprToType(From, ToType.getNonReferenceType(),
 4163     From = ImpCastExprToType(From, ToType, CK_BitCast,
 4169     Expr *Elem = prepareVectorSplat(ToType, From).get();
 4170     From = ImpCastExprToType(Elem, ToType, CK_VectorSplat, VK_RValue,
 4177     if (const ComplexType *ToComplex = ToType->getAs<ComplexType>()) {
 4193       From = ImpCastExprToType(From, ToType,
 4212       if (Context.hasSameUnqualifiedType(ElType, ToType)) {
 4214       } else if (ToType->isRealFloatingType()) {
 4215         From = ImpCastExprToType(From, ToType,
 4219         assert(ToType->isIntegerType());
 4220         From = ImpCastExprToType(From, ToType,
 4229         ToType->castAs<BlockPointerType>()->getPointeeType().getAddressSpace();
 4236     From = ImpCastExprToType(From, ToType.getUnqualifiedType(), Kind,
 4244       CheckTransparentUnionArgumentConstraints(ToType, FromRes);
 4256     From = ImpCastExprToType(From, ToType,
 4280     if (CheckExceptionSpecCompatibility(From, ToType))
 4283     From = ImpCastExprToType(From, ToType, CK_NoOp,
 4291         ToType->isReferenceType() ? From->getValueKind() : VK_RValue;
 4295     if (ToType->isReferenceType() &&
 4296         ToType->getPointeeType().getAddressSpace() !=
 4300     if (ToType->isPointerType() &&
 4301         ToType->getPointeeType().getAddressSpace() !=
 4305     From = ImpCastExprToType(From, ToType.getNonLValueExprType(Context), CK, VK,
 4315           << ToType.getNonReferenceType();
 4337     diagnoseNullableToNonnullConversion(ToType, InitialFromType,