Home
last modified time | relevance | path

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

/external/javassist/src/main/javassist/compiler/ast/
DCastExpr.java25 protected int castType; field in CastExpr
30 castType = CLASS; in CastExpr()
36 castType = type; in CastExpr()
42 public int getType() { return castType; } in getType()
52 public String getTag() { return "cast:" + castType + ":" + arrayDim; } in getTag()
DInstanceOfExpr.java33 return "instanceof:" + castType + ":" + arrayDim; in getTag()
/external/javassist/src/main/javassist/convert/
DTransformAccessArrayField.java127 String castType = null; in replace() local
132 castType = getTopType(iterator.lookAhead()); in replace()
136 if (castType == null) in replace()
138 if ("java/lang/Object".equals(castType)) in replace()
139 castType = null; in replace()
146 = iterator.insertGapAt(pos, castType != null ? 5 : 2, false); in replace()
153 if (castType != null) { in replace()
154 int index = cp.addClassInfo(castType); in replace()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp61 QualType castType = E->getType(); in VisitCastExpr() local
65 if (castType->isObjCObjectPointerType() && in VisitCastExpr()
68 if (!castType->isObjCObjectPointerType() && in VisitCastExpr()
73 bool castRetainable = castType->isObjCIndirectLifetimeType(); in VisitCastExpr()
84 if (castType->isObjCObjectPointerType()) in VisitCastExpr()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1623 Sema::ValidObjCARCNoBridgeCastExpr(Expr *&Exp, QualType castType) { in ValidObjCARCNoBridgeCastExpr() argument
1676 Context.getTrivialTypeSourceInfo(castType, SourceLocation()); in ValidObjCARCNoBridgeCastExpr()
1685 Sema::CheckObjCARCConversion(SourceRange castRange, QualType castType, in CheckObjCARCConversion() argument
1690 ARCConversionTypeClass castACTC = classifyTypeForARCConversion(castType); in CheckObjCARCConversion()
1692 if (exprACTC && castType->isIntegralType(Context)) return; in CheckObjCARCConversion()
1697 if (const PointerType *CastPtr = castType->getAs<PointerType>()) { in CheckObjCARCConversion()
1738 if (castType->isObjCARCBridgableType() && in CheckObjCARCConversion()
1742 if (ValidObjCARCNoBridgeCastExpr(castExpr, castType)) in CheckObjCARCConversion()
1747 << (castType->isBlockPointerType()? 1 : 0) in CheckObjCARCConversion()
1748 << castType in CheckObjCARCConversion()
[all …]
DSemaExpr.cpp3887 QualType castType, Expr *castExpr, in CheckCastTypes() argument
3891 return checkUnknownAnyCast(TyR, castType, castExpr, Kind, VK, BasePath); in CheckCastTypes()
3896 castType, VK, castExpr, Kind, BasePath, in CheckCastTypes()
3906 if (castType->isVoidType()) { in CheckCastTypes()
3923 if (RequireCompleteType(TyR.getBegin(), castType, in CheckCastTypes()
3927 if (!castType->isScalarType() && !castType->isVectorType()) { in CheckCastTypes()
3928 if (Context.hasSameUnqualifiedType(castType, castExpr->getType()) && in CheckCastTypes()
3929 (castType->isStructureType() || castType->isUnionType())) { in CheckCastTypes()
3933 << castType << castExpr->getSourceRange(); in CheckCastTypes()
3938 if (castType->isUnionType()) { in CheckCastTypes()
[all …]
DSemaCXXCast.cpp312 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
320 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType)) in diagnoseBadCast()
323 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp3070 QualType castType = in SynthMessageExpr() local
3074 castType = Context->getPointerType(castType); in SynthMessageExpr()
3075 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
3101 castType = getSimpleFunctionType(returnType, &ArgTypes[0], ArgTypes.size(), in SynthMessageExpr()
3103 castType = Context->getPointerType(castType); in SynthMessageExpr()
3104 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/external/clang/include/clang/Sema/
DSema.h5602 ExprResult checkUnknownAnyCast(SourceRange TyRange, QualType castType,
5629 bool ValidObjCARCNoBridgeCastExpr(Expr *&Exp, QualType castType);
5633 void CheckObjCARCConversion(SourceRange castRange, QualType castType,
5636 bool CheckObjCARCUnavailableWeakConversion(QualType castType,