Home
last modified time | relevance | path

Searched refs:castType (Results 1 – 8 of 8) sorted by relevance

/src/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3761 SourceLocation afterLParen, QualType castType, Expr *castExpr, in addFixitForObjCARCConversion() argument
3826 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3835 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3882 QualType castType, in diagnoseObjCARCConversion() argument
3899 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) || in diagnoseObjCARCConversion()
3932 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
3933 << castType in diagnoseObjCARCConversion()
3947 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3960 castType, castExpr, realCast, "__bridge_transfer ", in diagnoseObjCARCConversion()
3975 << castType in diagnoseObjCARCConversion()
[all …]
H A DSemaCast.cpp525 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
529 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
533 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
H A DSemaExpr.cpp7686 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
7687 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
7696 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
7724 if (getLangOpts().CPlusPlus && !castType->isVoidType()) in ActOnCastExpr()
7727 ObjC().CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
7729 ObjC().CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
7731 DiscardMisalignedMemberAddress(castType.getTypePtr(), CastExpr); in ActOnCastExpr()
/src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp93 QualType castType = E->getType(); in VisitCastExpr() local
97 if (castType->isObjCRetainableType() == castExprType->isObjCRetainableType()) in VisitCastExpr()
101 bool castRetainable = castType->isObjCIndirectLifetimeType(); in VisitCastExpr()
112 if (castType->isObjCRetainableType()) in VisitCastExpr()
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h783 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
785 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
787 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
819 QualType castType, Expr *&op,
828 bool CheckObjCARCUnavailableWeakConversion(QualType castType,
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2686 QualType castType = in RewriteObjCBoxedExpr() local
2688 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2689 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2807 QualType castType = in RewriteObjCArrayLiteralExpr() local
2809 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2810 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2959 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2961 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
2962 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3102 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr() local
[all …]
H A DRewriteObjC.cpp2608 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
2611 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2612 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMsgSendStretCallExpr()
2955 QualType castType = in SynthMessageExpr() local
2957 castType = Context->getPointerType(castType); in SynthMessageExpr()
2958 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1484 llvm::Type *castType = llvm::Type::getIntNTy( in generateObjCSetterBody() local
1488 argAddr = argAddr.withElementType(castType); in generateObjCSetterBody()
1489 ivarAddr = ivarAddr.withElementType(castType); in generateObjCSetterBody()