Home
last modified time | relevance | path

Searched refs:castType (Results 1 – 11 of 11) 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.cpp3347 QualType castType, in addFixitForObjCARCConversion() argument
3414 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3423 castCode += castType.getAsString(); in addFixitForObjCARCConversion()
3468 QualType castType, ARCConversionTypeClass castACTC, in diagnoseObjCARCConversion() argument
3482 ObjCBridgeRelatedAttrFromType(castType, TDNDecl)) || in diagnoseObjCARCConversion()
3513 << unsigned(castType->isBlockPointerType()) // to ObjC|block type in diagnoseObjCARCConversion()
3514 << castType in diagnoseObjCARCConversion()
3528 castType, castExpr, realCast, "__bridge ", in diagnoseObjCARCConversion()
3541 castType, castExpr, realCast, "__bridge_transfer ", in diagnoseObjCARCConversion()
3556 << castType in diagnoseObjCARCConversion()
[all …]
DSemaCast.cpp382 static void diagnoseBadCast(Sema &S, unsigned msg, CastType castType, in diagnoseBadCast() argument
386 tryDiagnoseOverloadedCast(S, castType, opRange, src, destType, in diagnoseBadCast()
390 S.Diag(opRange.getBegin(), msg) << castType in diagnoseBadCast()
DSemaExpr.cpp5656 QualType castType = castTInfo->getType(); in ActOnCastExpr() local
5657 Ty = CreateParsedType(castType, castTInfo); in ActOnCastExpr()
5666 && castType->isVectorType() && (PE || PLE)) { in ActOnCastExpr()
5694 if (getLangOpts().CPlusPlus && !castType->isVoidType() && in ActOnCastExpr()
5698 CheckTollFreeBridgeCast(castType, CastExpr); in ActOnCastExpr()
5700 CheckObjCBridgeRelatedCast(castType, CastExpr); in ActOnCastExpr()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentGenerator.java89 ClassName owningClass, Snippet snippet, TypeName castType) { in staticMethodInvocationWithCast() argument
91 Optional.of(castType), owningClass, true, snippet); in staticMethodInvocationWithCast()
/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/Frontend/Rewrite/
DRewriteModernObjC.cpp2708 QualType castType = in RewriteObjCBoxedExpr() local
2710 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2711 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCBoxedExpr()
2832 QualType castType = in RewriteObjCArrayLiteralExpr() local
2834 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2835 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCArrayLiteralExpr()
2989 QualType castType = in RewriteObjCDictionaryLiteralExpr() local
2991 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
2992 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in RewriteObjCDictionaryLiteralExpr()
3130 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
[all …]
DRewriteObjC.cpp2604 QualType castType = getSimpleFunctionType(returnType, ArgTypes, in SynthMsgSendStretCallExpr() local
2607 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2608 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMsgSendStretCallExpr()
2959 QualType castType = in SynthMessageExpr() local
2961 castType = Context->getPointerType(castType); in SynthMessageExpr()
2962 cast = NoTypeInfoCStyleCastExpr(Context, castType, CK_BitCast, in SynthMessageExpr()
/external/clang/include/clang/Sema/
DSema.h7503 void CheckTollFreeBridgeCast(QualType castType, Expr *castExpr);
7505 void CheckObjCBridgeRelatedCast(QualType castType, Expr *castExpr);
7507 bool CheckTollFreeBridgeStaticCast(QualType castType, Expr *castExpr,
8607 QualType castType, Expr *&op,
8616 bool CheckObjCARCUnavailableWeakConversion(QualType castType,