Home
last modified time | relevance | path

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

12

/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp81 if (E->getCastKind() != CK_CPointerToObjCPointerCast && in VisitCastExpr()
82 E->getCastKind() != CK_BitCast && in VisitCastExpr()
83 E->getCastKind() != CK_AnyPointerToBlockPointerCast) in VisitCastExpr()
389 if (implCE->getCastKind() == CK_ARCConsumeObject) in transformObjCToNonObjCCast()
391 if (implCE->getCastKind() == CK_ARCReclaimReturnedObject) in transformObjCToNonObjCCast()
DTransBlockObjCVariable.cpp55 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr()
57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
DTransforms.cpp111 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne()
114 if (implCE && implCE->getCastKind() == CK_ARCConsumeObject) in isPlusOne()
/external/clang/lib/AST/
DExpr.cpp61 if ((CE->getCastKind() == CK_DerivedToBase || in skipRValueSubobjectAdjustments()
62 CE->getCastKind() == CK_UncheckedDerivedToBase) && in skipRValueSubobjectAdjustments()
71 if (CE->getCastKind() == CK_NoOp) { in skipRValueSubobjectAdjustments()
1374 switch (getCastKind()) { in CheckCastConsistency()
1479 switch (getCastKind()) { in getCastKindName()
1610 if (E->getCastKind() == CK_ConstructorConversion) in getSubExprAsWritten()
1612 else if (E->getCastKind() == CK_UserDefinedConversion) in getSubExprAsWritten()
2158 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning()
2174 if (CE->getCastKind() == CK_ConstructorConversion) in isUnusedResultAWarning()
2193 if (ICE->getCastKind() == CK_LValueToRValue && in isUnusedResultAWarning()
[all …]
DExprConstant.cpp3956 switch (E->getCastKind()) { in VisitCastExpr()
4129 switch (E->getCastKind()) { in VisitCastExpr()
4211 switch (E->getCastKind()) { in VisitCastExpr()
4566 switch (E->getCastKind()) { in VisitCastExpr()
4710 switch (E->getCastKind()) { in VisitCastExpr()
4867 switch (E->getCastKind()) { in VisitCastExpr()
5097 switch (E->getCastKind()) { in VisitCastExpr()
5172 switch (E->getCastKind()) { in VisitCastExpr()
6920 switch (E->getCastKind()) { in VisitCastExpr()
7273 switch (E->getCastKind()) { in VisitCastExpr()
[all …]
/external/clang/lib/CodeGen/
DCGCXXABI.cpp237 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment()
238 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment()
241 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
DItaniumCXXABI.cpp402 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion()
403 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion()
404 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion()
407 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion()
417 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
457 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion()
458 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion()
459 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion()
462 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion()
468 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
DMicrosoftCXXABI.cpp1089 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion()
1090 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion()
1091 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion()
1107 bool IsReinterpret = E->getCastKind() == CK_ReinterpretMemberPointer; in EmitMemberPointerConversion()
1157 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
1211 if (E->getCastKind() == CK_ReinterpretMemberPointer) in EmitMemberPointerConversion()
1242 bool IsDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
DCGExprAgg.cpp537 if (castE->getCastKind() == kind) in findPeephole()
539 if (castE->getCastKind() == CK_NoOp) in findPeephole()
547 switch (E->getCastKind()) { in VisitCastExpr()
586 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic); in VisitCastExpr()
803 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef()
1002 return ICE->getCastKind() == CK_NullToPointer; in isSimpleZero()
DCGClass.cpp2008 if (CE->getCastKind() == CK_DerivedToBase || in getMostDerivedClassDecl()
2009 CE->getCastKind() == CK_UncheckedDerivedToBase || in getMostDerivedClassDecl()
2010 CE->getCastKind() == CK_NoOp) { in getMostDerivedClassDecl()
2036 if (CE->getCastKind() == CK_NoOp) { in skipNoOpCastsAndParens()
DCGExprComplex.cpp148 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr()
151 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
DCGObjC.cpp260 if (!ice || ice->getCastKind() != CK_LValueToRValue) return true; in shouldExtendReceiverForInnerPointerMessage()
2467 switch (cast->getCastKind()) { in shouldEmitSeparateBlockRetain()
2560 switch (ce->getCastKind()) { in tryEmitARCRetainScalarExpr()
DCGExpr.cpp624 if (CE->getCastKind() == CK_ArrayToPointerDecay && in getArrayIndexingBound()
2200 if (CE == 0 || CE->getCastKind() != CK_ArrayToPointerDecay) in isSimpleArrayDecayOperand()
2675 switch (E->getCastKind()) { in EmitCastLValue()
DCGBuiltin.cpp1660 if ((ICE->getCastKind() == CK_BitCast || ICE->getCastKind() == CK_NoOp) && in EmitPointerWithAlignment()
1667 } else if (ICE->getCastKind() == CK_ArrayToPointerDecay) { in EmitPointerWithAlignment()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp183 switch (CastE->getCastKind()) { in checkPostStmt()
/external/clang/lib/Analysis/
DUninitializedValues.cpp281 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts()
416 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
DCFG.cpp792 if ((CE->getCastKind() == CK_DerivedToBase || in getReferenceInitTemporaryType()
793 CE->getCastKind() == CK_UncheckedDerivedToBase || in getReferenceInitTemporaryType()
794 CE->getCastKind() == CK_NoOp) && in getReferenceInitTemporaryType()
/external/clang/lib/Sema/
DSemaChecking.cpp3050 if (ICE->getCastKind() == CK_IntegralCast || in checkFormatExpr()
3051 ICE->getCastKind() == CK_FloatingCast) { in checkFormatExpr()
4078 switch (cast<CastExpr>(E)->getCastKind()) { in EvalAddr()
4440 if (CE->getCastKind() == CK_NoOp || CE->getCastKind() == CK_LValueToRValue) in GetExprRange()
4445 bool isIntegerCast = (CE->getCastKind() == CK_IntegralCast); in GetExprRange()
4704 if (ICE->getCastKind() != CK_IntegralCast && in HasEnumType()
4705 ICE->getCastKind() != CK_NoOp) in HasEnumType()
5810 if (E->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
6411 switch (cast->getCastKind()) { in findRetainCycleOwner()
6665 if (cast->getCastKind() == CK_ARCConsumeObject) { in checkUnsafeAssignObject()
[all …]
DSemaExceptionSpec.cpp838 return DC->getCastKind() == clang::CK_Dynamic? CT_Can : CT_Cannot; in canDynamicCastThrow()
DSemaLambda.cpp285 if (ICE->getCastKind() == CK_IntegralCast) in findEnumForBlockReturn()
DSema.cpp300 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp225 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast()
251 switch (CastE->getCastKind()) { in VisitCast()
DSValBuilder.cpp271 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in getConstantVal()
DExprEngine.cpp200 if (CE->getCastKind() == CK_DerivedToBase || in createTemporaryRegionIfNeeded()
201 CE->getCastKind() == CK_UncheckedDerivedToBase) in createTemporaryRegionIfNeeded()
203 else if (CE->getCastKind() != CK_NoOp) in createTemporaryRegionIfNeeded()
1761 if (!PE || PE->getCastKind() != CK_ArrayToPointerDecay) { in VisitMemberExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp946 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr()
1000 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()

12