Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprObjC.cpp3826 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3924 << castType in diagnoseObjCARCConversion()
3966 << castType in diagnoseObjCARCConversion()
3985 << castType in diagnoseObjCARCConversion()
4070 QualType T = castType; in CheckObjCBridgeCFCast()
4399 QualType effCastType = castType; in CheckObjCConversion()
4410 castType != castExprType) { in CheckObjCConversion()
4412 QualType QDT = castType; in CheckObjCConversion()
4422 if (QDT != castType && in CheckObjCConversion()
4517 QualType castType; in diagnoseARCUnbridgedCast() local
[all …]
H A DSemaCast.cpp517 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
521 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
525 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
H A DSemaExpr.cpp8532 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
8533 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
8542 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
8570 if (getLangOpts().CPlusPlus && !castType->isVoidType()) in ActOnCastExpr()
8573 CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
8575 CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
8577 DiscardMisalignedMemberAddress(castType.getTypePtr(), CastExpr); in ActOnCastExpr()
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp2687 QualType castType = in RewriteObjCBoxedExpr() local
2689 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2690 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2808 QualType castType = in RewriteObjCArrayLiteralExpr() local
2810 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2811 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2960 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2962 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
3103 QualType castType = Context->getPointerType(FuncType); in SynthMsgSendStretCallExpr() local
3526 QualType castType = in SynthMessageExpr() 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()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1480 llvm::Type *castType = llvm::Type::getIntNTy( in generateObjCSetterBody() local
1484 argAddr = argAddr.withElementType(castType); in generateObjCSetterBody()
1485 ivarAddr = ivarAddr.withElementType(castType); in generateObjCSetterBody()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h10846 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
10848 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
10850 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
13147 QualType castType, Expr *&op,
13157 bool CheckObjCARCUnavailableWeakConversion(QualType castType,