/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 54 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr() 56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
D | TransUnbridgedCasts.cpp | 69 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()
|
D | Transforms.cpp | 101 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOneAssign() 104 if (implCE && implCE->getCastKind() == CK_ARCConsumeObject) in isPlusOneAssign()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1267 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 …]
|
D | ExprConstant.cpp | 2608 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/ |
D | CGCXXABI.cpp | 235 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment() 236 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment() 239 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
|
D | ItaniumCXXABI.cpp | 344 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()
|
D | CGClass.cpp | 1632 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()
|
D | CGExprAgg.cpp | 550 switch (E->getCastKind()) { in VisitCastExpr() 738 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef() 917 return ICE->getCastKind() == CK_NullToPointer; in isSimpleZero()
|
D | CGExprComplex.cpp | 149 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 152 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
|
D | CGExpr.cpp | 344 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()
|
D | CGObjC.cpp | 232 if (!ice || ice->getCastKind() != CK_LValueToRValue) return true; in shouldExtendReceiverForInnerPointerMessage() 2392 switch (cast->getCastKind()) { in shouldEmitSeparateBlockRetain() 2487 switch (ce->getCastKind()) { in tryEmitARCRetainScalarExpr()
|
D | CGBuiltin.cpp | 1481 if ((ICE->getCastKind() == CK_BitCast || ICE->getCastKind() == CK_NoOp) && in EmitPointerWithAlignment() 1488 } else if (ICE->getCastKind() == CK_ArrayToPointerDecay) { in EmitPointerWithAlignment()
|
D | CGExprScalar.cpp | 1000 if (CE->getCastKind() == CK_UncheckedDerivedToBase) in ShouldNullCheckClassCastValue() 1023 CastKind Kind = CE->getCastKind(); in VisitCastExpr()
|
D | CGExprConstant.cpp | 656 switch (E->getCastKind()) { in VisitCastExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypePropagation.cpp | 180 switch (CastE->getCastKind()) { in checkPostStmt()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 267 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts() 392 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
D | CFG.cpp | 754 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/ |
D | SemaChecking.cpp | 2684 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 …]
|
D | SemaExceptionSpec.cpp | 825 return DC->getCastKind() == clang::CK_Dynamic? CT_Can : CT_Cannot; in canDynamicCastThrow()
|
D | Sema.cpp | 290 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()
|
D | SemaStmt.cpp | 512 if (impcast->getCastKind() != CK_IntegralCast) break; in GetTypeBeforeIntegralPromotion() 1274 if (E->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
D | SemaExprObjC.cpp | 2601 switch (e->getCastKind()) { in VisitCastExpr() 3129 if (ice->getCastKind() == CK_ARCReclaimReturnedObject) in maybeUndoReclaimObject()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 793 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr() 847 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 222 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast() 248 switch (CastE->getCastKind()) { in VisitCast()
|