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/Sema/
DSemaExprObjC.cpp3042 QualType castType, in addFixitForObjCARCConversion() argument
3109 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3118 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3163 QualType castType, ARCConversionTypeClass castACTC, in diagnoseObjCARCConversion() argument
3177 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) || in diagnoseObjCARCConversion()
3208 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
3209 << castType in diagnoseObjCARCConversion()
3223 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3236 castType, castExpr, realCast, "__bridge_transfer ", in diagnoseObjCARCConversion()
3251 << castType in diagnoseObjCARCConversion()
[all …]
DSemaCast.cpp387 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
391 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
395 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
DSemaExpr.cpp5234 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
5235 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
5244 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
5272 if (getLangOpts().CPlusPlus && !castType->isVoidType() && in ActOnCastExpr()
5276 CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
5278 CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp94 QualType castType = E->getType(); in VisitCastExpr() local
98 if (castType->isObjCRetainableType() == castExprType->isObjCRetainableType()) in VisitCastExpr()
102 bool castRetainable = castType->isObjCIndirectLifetimeType(); in VisitCastExpr()
113 if (castType->isObjCRetainableType()) in VisitCastExpr()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp2722 QualType castType = in RewriteObjCBoxedExpr() local
2724 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2725 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2851 QualType castType = in RewriteObjCArrayLiteralExpr() local
2853 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2854 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
3015 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
3017 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
3018 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3156 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
[all …]
DRewriteObjC.cpp2612 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
2615 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2616 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMsgSendStretCallExpr()
2979 QualType castType = in SynthMessageExpr() local
2981 castType = Context->getPointerType(castType); in SynthMessageExpr()
2982 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/external/clang/include/clang/Sema/
DSema.h7032 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
7034 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
7036 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
7889 QualType castType, Expr *&op,
7898 bool CheckObjCARCUnavailableWeakConversion(QualType castType,