Home
last modified time | relevance | path

Searched refs:castType (Results 1 – 10 of 10) 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.cpp69 QualType castType = E->getType(); in VisitCastExpr() local
73 if (castType->isObjCObjectPointerType() && in VisitCastExpr()
76 if (!castType->isObjCObjectPointerType() && in VisitCastExpr()
81 bool castRetainable = castType->isObjCIndirectLifetimeType(); in VisitCastExpr()
92 if (castType->isObjCObjectPointerType()) in VisitCastExpr()
/external/clang/lib/Sema/
DSemaExprObjC.cpp2725 QualType castType, in addFixitForObjCARCConversion() argument
2765 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
2785 QualType castType, ARCConversionTypeClass castACTC, in diagnoseObjCARCConversion() argument
2823 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
2824 << castType in diagnoseObjCARCConversion()
2831 castType, castExpr, "__bridge ", 0); in diagnoseObjCARCConversion()
2837 castType, castExpr, "__bridge_transfer ", in diagnoseObjCARCConversion()
2852 << castType in diagnoseObjCARCConversion()
2859 castType, castExpr, "__bridge ", 0); in diagnoseObjCARCConversion()
2863 << castType << br; in diagnoseObjCARCConversion()
[all …]
DSemaCast.cpp378 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
387 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
391 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
DSemaExpr.cpp4296 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
4297 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
4306 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
/external/clang/lib/Rewrite/
DRewriteModernObjC.cpp2573 QualType castType = in RewriteObjCBoxedExpr() local
2576 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2577 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2712 QualType castType = in RewriteObjCArrayLiteralExpr() local
2715 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2716 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2887 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2890 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
2891 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3338 QualType castType = in SynthMessageExpr() local
[all …]
DRewriteObjC.cpp3004 QualType castType = in SynthMessageExpr() local
3008 castType = Context->getPointerType(castType); in SynthMessageExpr()
3009 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
3036 castType = getSimpleFunctionType(returnType, &ArgTypes[0], ArgTypes.size(), in SynthMessageExpr()
3038 castType = Context->getPointerType(castType); in SynthMessageExpr()
3039 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/external/clang/include/clang/Sema/
DSema.h6494 QualType castType, Expr *&op,
6500 bool CheckObjCARCUnavailableWeakConversion(QualType castType,