Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3751 SourceLocation afterLParen, QualType castType, Expr *castExpr, in addFixitForObjCARCConversion() argument
3816 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3825 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3872 QualType castType, in diagnoseObjCARCConversion() argument
3889 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) || in diagnoseObjCARCConversion()
3922 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
3923 << castType in diagnoseObjCARCConversion()
3937 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3950 castType, castExpr, realCast, "__bridge_transfer ", in diagnoseObjCARCConversion()
3965 << castType in diagnoseObjCARCConversion()
[all …]
H A DSemaCast.cpp574 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
578 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
582 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
H A DSemaExpr.cpp7836 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
7837 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
7846 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
7874 if (getLangOpts().CPlusPlus && !castType->isVoidType()) in ActOnCastExpr()
7877 ObjC().CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
7879 ObjC().CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
7881 DiscardMisalignedMemberAddress(castType.getTypePtr(), CastExpr); in ActOnCastExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h775 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
777 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
779 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
811 QualType castType, Expr *&op,
821 bool CheckObjCARCUnavailableWeakConversion(QualType castType,
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2685 QualType castType = in RewriteObjCBoxedExpr() local
2687 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2688 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2806 QualType castType = in RewriteObjCArrayLiteralExpr() local
2808 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2809 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2958 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2960 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
2961 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3101 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr() local
[all …]
H A DRewriteObjC.cpp2606 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
2609 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2610 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMsgSendStretCallExpr()
2953 QualType castType = in SynthMessageExpr() local
2955 castType = Context->getPointerType(castType); in SynthMessageExpr()
2956 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1520 llvm::Type *castType = llvm::Type::getIntNTy( in generateObjCSetterBody() local
1524 argAddr = argAddr.withElementType(castType); in generateObjCSetterBody()
1525 ivarAddr = ivarAddr.withElementType(castType); in generateObjCSetterBody()