Home | History | Annotate | Download | only in Sema

Lines Matching refs:castType

3042                                          QualType castType,
3109 castCode += castType.getAsString();
3118 castCode += castType.getAsString();
3163 QualType castType, ARCConversionTypeClass castACTC,
3177 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) ||
3208 << unsigned(castType->isBlockPointerType()) // to ObjC|block type
3209 << castType
3223 castType, castExpr, realCast, "__bridge ",
3236 castType, castExpr, realCast, "__bridge_transfer ",
3251 << castType
3263 castType, castExpr, realCast, "__bridge ",
3270 S.Diag(noteLoc, diag::note_arc_cstyle_bridge_retained) << castType :
3273 << castType << br;
3276 castType, castExpr, realCast, "__bridge_retained ",
3285 << srcKind << castExprType << castType
3290 static bool CheckObjCBridgeNSCast(Sema &S, QualType castType, Expr *castExpr,
3308 castType->getAsObjCInterfacePointerType()) {
3316 << T << Target->getName() << castType->getPointeeType();
3318 } else if (castType->isObjCIdType() ||
3320 castType, ExprClass)))
3328 << T << Target->getName() << castType;
3351 static bool CheckObjCBridgeCFCast(Sema &S, QualType castType, Expr *castExpr,
3353 QualType T = castType;
3391 << castExpr->getType() << castType;
3400 << castExpr->getType() << castType;
3413 void Sema::CheckTollFreeBridgeCast(QualType castType, Expr *castExpr) {
3418 ARCConversionTypeClass castACTC = classifyTypeForARCConversion(castType);
3422 CheckObjCBridgeNSCast<ObjCBridgeAttr>(*this, castType, castExpr, HasObjCBridgeAttr,
3428 CheckObjCBridgeNSCast<ObjCBridgeMutableAttr>(*this, castType, castExpr,
3434 CheckObjCBridgeNSCast<ObjCBridgeAttr>(*this, castType, castExpr, HasObjCBridgeAttr,
3437 CheckObjCBridgeNSCast<ObjCBridgeMutableAttr>(*this, castType, castExpr,
3443 CheckObjCBridgeCFCast<ObjCBridgeAttr>(*this, castType, castExpr, HasObjCBridgeAttr,
3449 CheckObjCBridgeCFCast<ObjCBridgeMutableAttr>(*this, castType, castExpr,
3455 CheckObjCBridgeCFCast<ObjCBridgeAttr>(*this, castType, castExpr, HasObjCBridgeAttr,
3458 CheckObjCBridgeCFCast<ObjCBridgeMutableAttr>(*this, castType, castExpr,
3463 void Sema::CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr) {
3478 ARCConversionTypeClass castExprACTC = classifyTypeForARCConversion(castType);
3482 castType, SrcType, castExpr);
3486 bool Sema::CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
3492 ARCConversionTypeClass castACTC = classifyTypeForARCConversion(castType);
3495 CheckTollFreeBridgeCast(castType, castExpr);
3656 Sema::CheckObjCARCConversion(SourceRange castRange, QualType castType,
3664 QualType effCastType = castType;
3665 if (const ReferenceType *ref = castType->getAs<ReferenceType>())
3675 (castType != castExprType)) {
3676 const Type *DT = castType.getTypePtr();
3677 QualType QDT = castType;
3687 if (QDT != castType &&
3702 if (castACTC == ACTC_none && castType->isIntegralType(Context))
3744 ConversionToObjCStringLiteralCheck(castType, castExpr))
3755 diagnoseObjCARCConversion(*this, castRange, castType, castACTC,
3768 QualType castType;
3773 castType = cast->getTypeAsWritten();
3777 castType = cast->getTypeAsWritten();
3780 castType = cast->getType();
3785 classifyTypeForARCConversion(castType.getNonReferenceType());
3790 diagnoseObjCARCConversion(*this, castRange, castType, castACTC,
3835 bool Sema::CheckObjCARCUnavailableWeakConversion(QualType castType,
3838 Context.getCanonicalType(castType).getUnqualifiedType();
3842 castType.getObjCLifetime() == Qualifiers::OCL_Weak &&