/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 81 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()
|
D | TransBlockObjCVariable.cpp | 55 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr() 57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
D | Transforms.cpp | 111 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne() 114 if (implCE && implCE->getCastKind() == CK_ARCConsumeObject) in isPlusOne()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 61 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 …]
|
D | ExprConstant.cpp | 3956 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/ |
D | CGCXXABI.cpp | 237 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment() 238 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment() 241 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
|
D | ItaniumCXXABI.cpp | 402 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()
|
D | MicrosoftCXXABI.cpp | 1089 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()
|
D | CGExprAgg.cpp | 537 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()
|
D | CGClass.cpp | 2008 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()
|
D | CGExprComplex.cpp | 148 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 151 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
|
D | CGObjC.cpp | 260 if (!ice || ice->getCastKind() != CK_LValueToRValue) return true; in shouldExtendReceiverForInnerPointerMessage() 2467 switch (cast->getCastKind()) { in shouldEmitSeparateBlockRetain() 2560 switch (ce->getCastKind()) { in tryEmitARCRetainScalarExpr()
|
D | CGExpr.cpp | 624 if (CE->getCastKind() == CK_ArrayToPointerDecay && in getArrayIndexingBound() 2200 if (CE == 0 || CE->getCastKind() != CK_ArrayToPointerDecay) in isSimpleArrayDecayOperand() 2675 switch (E->getCastKind()) { in EmitCastLValue()
|
D | CGBuiltin.cpp | 1660 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/ |
D | DynamicTypePropagation.cpp | 183 switch (CastE->getCastKind()) { in checkPostStmt()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 281 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts() 416 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
D | CFG.cpp | 792 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/ |
D | SemaChecking.cpp | 3050 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 …]
|
D | SemaExceptionSpec.cpp | 838 return DC->getCastKind() == clang::CK_Dynamic? CT_Can : CT_Cannot; in canDynamicCastThrow()
|
D | SemaLambda.cpp | 285 if (ICE->getCastKind() == CK_IntegralCast) in findEnumForBlockReturn()
|
D | Sema.cpp | 300 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 225 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast() 251 switch (CastE->getCastKind()) { in VisitCast()
|
D | SValBuilder.cpp | 271 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in getConstantVal()
|
D | ExprEngine.cpp | 200 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/ |
D | RewriteObjCFoundationAPI.cpp | 946 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr() 1000 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
|