Home
last modified time | relevance | path

Searched refs:getCastKind (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp54 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr()
56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
DTransUnbridgedCasts.cpp69 if (E->getCastKind() != CK_CPointerToObjCPointerCast in VisitCastExpr()
70 && E->getCastKind() != CK_BitCast) in VisitCastExpr()
309 if (implCE->getCastKind() == CK_ARCConsumeObject) in transformObjCToNonObjCCast()
311 if (implCE->getCastKind() == CK_ARCReclaimReturnedObject) in transformObjCToNonObjCCast()
DTransforms.cpp101 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOneAssign()
104 if (implCE && implCE->getCastKind() == CK_ARCConsumeObject) in isPlusOneAssign()
/external/clang/lib/AST/
DExpr.cpp1267 switch (getCastKind()) { in CheckCastConsistency()
1371 switch (getCastKind()) { in getCastKindName()
1500 if (E->getCastKind() == CK_ConstructorConversion) in getSubExprAsWritten()
1502 else if (E->getCastKind() == CK_UserDefinedConversion) in getSubExprAsWritten()
2026 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning()
2042 if (CE->getCastKind() == CK_ConstructorConversion) in isUnusedResultAWarning()
2061 if (ICE->getCastKind() == CK_LValueToRValue && in isUnusedResultAWarning()
2229 if (P->getCastKind() == CK_LValueToRValue) { in IgnoreParenLValueCasts()
2265 if (CE->getCastKind() == CK_DerivedToBase || in ignoreParenBaseCasts()
2266 CE->getCastKind() == CK_UncheckedDerivedToBase || in ignoreParenBaseCasts()
[all …]
DExprConstant.cpp2608 switch (E->getCastKind()) { in VisitCastExpr()
2723 switch (E->getCastKind()) { in VisitCastExpr()
2802 switch (E->getCastKind()) { in VisitCastExpr()
3059 switch (E->getCastKind()) { in VisitCastExpr()
3207 switch (E->getCastKind()) { in VisitCastExpr()
3363 switch (E->getCastKind()) { in VisitCastExpr()
3530 switch (E->getCastKind()) { in VisitCastExpr()
3605 switch (E->getCastKind()) { in VisitCastExpr()
5330 switch (E->getCastKind()) { in VisitCastExpr()
5698 switch (E->getCastKind()) { in VisitCastExpr()
[all …]
/external/clang/lib/CodeGen/
DCGCXXABI.cpp235 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment()
236 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment()
239 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
DItaniumCXXABI.cpp344 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion()
345 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion()
346 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion()
349 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion()
359 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
399 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion()
400 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion()
401 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion()
404 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion()
410 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
DCGClass.cpp1632 if (CE->getCastKind() == CK_DerivedToBase || in getMostDerivedClassDecl()
1633 CE->getCastKind() == CK_UncheckedDerivedToBase || in getMostDerivedClassDecl()
1634 CE->getCastKind() == CK_NoOp) { in getMostDerivedClassDecl()
1660 if (CE->getCastKind() == CK_NoOp) { in skipNoOpCastsAndParens()
DCGExprAgg.cpp550 switch (E->getCastKind()) { in VisitCastExpr()
738 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef()
917 return ICE->getCastKind() == CK_NullToPointer; in isSimpleZero()
DCGExprComplex.cpp149 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr()
152 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
DCGExpr.cpp344 if ((CE->getCastKind() == CK_DerivedToBase || in EmitExprForReferenceBinding()
345 CE->getCastKind() == CK_UncheckedDerivedToBase) && in EmitExprForReferenceBinding()
354 if (CE->getCastKind() == CK_NoOp) { in EmitExprForReferenceBinding()
1962 if (CE == 0 || CE->getCastKind() != CK_ArrayToPointerDecay) in isSimpleArrayDecayOperand()
2391 switch (E->getCastKind()) { in EmitCastLValue()
DCGObjC.cpp232 if (!ice || ice->getCastKind() != CK_LValueToRValue) return true; in shouldExtendReceiverForInnerPointerMessage()
2392 switch (cast->getCastKind()) { in shouldEmitSeparateBlockRetain()
2487 switch (ce->getCastKind()) { in tryEmitARCRetainScalarExpr()
DCGBuiltin.cpp1481 if ((ICE->getCastKind() == CK_BitCast || ICE->getCastKind() == CK_NoOp) && in EmitPointerWithAlignment()
1488 } else if (ICE->getCastKind() == CK_ArrayToPointerDecay) { in EmitPointerWithAlignment()
DCGExprScalar.cpp1000 if (CE->getCastKind() == CK_UncheckedDerivedToBase) in ShouldNullCheckClassCastValue()
1023 CastKind Kind = CE->getCastKind(); in VisitCastExpr()
DCGExprConstant.cpp656 switch (E->getCastKind()) { in VisitCastExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp180 switch (CastE->getCastKind()) { in checkPostStmt()
/external/clang/lib/Analysis/
DUninitializedValues.cpp267 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts()
392 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
DCFG.cpp754 if ((CE->getCastKind() == CK_DerivedToBase || in getReferenceInitTemporaryType()
755 CE->getCastKind() == CK_UncheckedDerivedToBase || in getReferenceInitTemporaryType()
756 CE->getCastKind() == CK_NoOp) && in getReferenceInitTemporaryType()
/external/clang/lib/Sema/
DSemaChecking.cpp2684 if (ICE->getCastKind() == CK_IntegralCast || in checkFormatExpr()
2685 ICE->getCastKind() == CK_FloatingCast) { in checkFormatExpr()
3628 switch (cast<CastExpr>(E)->getCastKind()) { in EvalAddr()
3979 if (CE->getCastKind() == CK_NoOp || CE->getCastKind() == CK_LValueToRValue) in GetExprRange()
3984 bool isIntegerCast = (CE->getCastKind() == CK_IntegralCast); in GetExprRange()
4247 if (ICE->getCastKind() != CK_IntegralCast && in HasEnumType()
4248 ICE->getCastKind() != CK_NoOp) in HasEnumType()
5291 switch (cast->getCastKind()) { in findRetainCycleOwner()
5490 if (cast->getCastKind() == CK_ARCConsumeObject) { in checkUnsafeAssigns()
5541 if (cast->getCastKind() == CK_ARCConsumeObject) { in checkUnsafeExprAssigns()
[all …]
DSemaExceptionSpec.cpp825 return DC->getCastKind() == clang::CK_Dynamic? CT_Can : CT_Cannot; in canDynamicCastThrow()
DSema.cpp290 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()
DSemaStmt.cpp512 if (impcast->getCastKind() != CK_IntegralCast) break; in GetTypeBeforeIntegralPromotion()
1274 if (E->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
DSemaExprObjC.cpp2601 switch (e->getCastKind()) { in VisitCastExpr()
3129 if (ice->getCastKind() == CK_ARCReclaimReturnedObject) in maybeUndoReclaimObject()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp793 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr()
847 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp222 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast()
248 switch (CastE->getCastKind()) { in VisitCast()

12