/external/clang/lib/ARCMigrate/ |
D | TransUnbridgedCasts.cpp | 89 if (E->getCastKind() != CK_CPointerToObjCPointerCast && in VisitCastExpr() 90 E->getCastKind() != CK_BitCast && in VisitCastExpr() 91 E->getCastKind() != CK_AnyPointerToBlockPointerCast) in VisitCastExpr() 397 if (implCE->getCastKind() == CK_ARCConsumeObject) in transformObjCToNonObjCCast() 399 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 | 113 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne() 116 return implCE && implCE->getCastKind() == CK_ARCConsumeObject; in isPlusOne()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 62 if ((CE->getCastKind() == CK_DerivedToBase || in skipRValueSubobjectAdjustments() 63 CE->getCastKind() == CK_UncheckedDerivedToBase) && in skipRValueSubobjectAdjustments() 72 if (CE->getCastKind() == CK_NoOp) { in skipRValueSubobjectAdjustments() 1500 switch (getCastKind()) { in CastConsistency() 1611 switch (getCastKind()) { in getCastKindName() 1744 if (E->getCastKind() == CK_ConstructorConversion) in getSubExprAsWritten() 1746 else if (E->getCastKind() == CK_UserDefinedConversion) in getSubExprAsWritten() 2315 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning() 2331 if (CE->getCastKind() == CK_ConstructorConversion) in isUnusedResultAWarning() 2350 if (ICE->getCastKind() == CK_LValueToRValue && in isUnusedResultAWarning() [all …]
|
D | ExprConstant.cpp | 4332 switch (E->getCastKind()) { in VisitCastExpr() 4515 switch (E->getCastKind()) { in VisitCastExpr() 4597 switch (E->getCastKind()) { in VisitCastExpr() 4958 switch (E->getCastKind()) { in VisitCastExpr() 5200 switch (E->getCastKind()) { in VisitCastExpr() 5359 switch (E->getCastKind()) { in VisitCastExpr() 5587 switch (E->getCastKind()) { in VisitCastExpr() 5665 switch (E->getCastKind()) { in VisitCastExpr() 6326 auto CastKind = Cast->getCastKind(); in ignorePointerCastsAndParens() 7728 switch (E->getCastKind()) { in VisitCastExpr() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 266 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment() 267 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment() 270 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
|
D | CGExprAgg.cpp | 565 if (castE->getCastKind() == kind) in findPeephole() 567 if (castE->getCastKind() == CK_NoOp) in findPeephole() 577 switch (E->getCastKind()) { in VisitCastExpr() 620 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic); in VisitCastExpr() 838 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef() 1045 return ICE->getCastKind() == CK_NullToPointer; in isSimpleZero()
|
D | ItaniumCXXABI.cpp | 665 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 666 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 667 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 670 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 680 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion() 720 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 721 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 722 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 725 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 731 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
|
D | CGExprComplex.cpp | 154 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 159 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
|
D | CGObjC.cpp | 284 if (!ice || ice->getCastKind() != CK_LValueToRValue) return true; in shouldExtendReceiverForInnerPointerMessage() 332 if (CE->getCastKind() == CK_LValueToRValue) { in findWeakLValue() 2511 switch (cast->getCastKind()) { in shouldEmitSeparateBlockRetain() 2604 switch (ce->getCastKind()) { in tryEmitARCRetainScalarExpr()
|
D | MicrosoftCXXABI.cpp | 2976 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 2977 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 2978 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 2992 bool IsReinterpret = E->getCastKind() == CK_ReinterpretMemberPointer; in EmitMemberPointerConversion() 3024 SrcTy, DstTy, E->getCastKind(), E->path_begin(), E->path_end(), Src, in EmitMemberPointerConversion() 3186 CastKind CK = E->getCastKind(); in EmitMemberPointerConversion()
|
D | CGExpr.cpp | 704 if (CE->getCastKind() == CK_ArrayToPointerDecay && in getArrayIndexingBound() 807 switch (CE->getCastKind()) { in EmitPointerWithAlignment() 2626 if (!CE || CE->getCastKind() != CK_ArrayToPointerDecay) in isSimpleArrayDecayOperand() 3356 switch (E->getCastKind()) { in EmitCastLValue()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypeChecker.cpp | 166 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
|
D | StackAddrEscapeChecker.cpp | 163 ICE->getCastKind() == CK_CopyAndAutoreleaseBlockObject) { in checkPreStmt()
|
D | DynamicTypePropagation.cpp | 499 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 281 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts() 473 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
D | ThreadSafety.cpp | 1648 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in checkPtAccess() 1864 if (CE->getCastKind() != CK_LValueToRValue) in VisitCastExpr()
|
D | ThreadSafetyCommon.cpp | 538 clang::CastKind K = CE->getCastKind(); in translateCastExpr()
|
D | CFG.cpp | 1187 if ((CE->getCastKind() == CK_DerivedToBase || in getReferenceInitTemporaryType() 1188 CE->getCastKind() == CK_UncheckedDerivedToBase || in getReferenceInitTemporaryType() 1189 CE->getCastKind() == CK_NoOp) && in getReferenceInitTemporaryType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 255 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast() 281 switch (CastE->getCastKind()) { in VisitCast()
|
D | SValBuilder.cpp | 295 switch (CE->getCastKind()) { in getConstantVal()
|
D | ExprEngine.cpp | 212 if (CE->getCastKind() == CK_DerivedToBase || in createTemporaryRegionIfNeeded() 213 CE->getCastKind() == CK_UncheckedDerivedToBase) in createTemporaryRegionIfNeeded() 215 else if (CE->getCastKind() != CK_NoOp) in createTemporaryRegionIfNeeded() 2030 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()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 4255 if (ICE->getCastKind() == CK_IntegralCast || in checkFormatExpr() 4256 ICE->getCastKind() == CK_FloatingCast) { in checkFormatExpr() 5810 switch (cast<CastExpr>(E)->getCastKind()) { in EvalAddr() 6232 if (CE->getCastKind() == CK_NoOp || CE->getCastKind() == CK_LValueToRValue) in GetExprRange() 6237 bool isIntegerCast = (CE->getCastKind() == CK_IntegralCast); in GetExprRange() 6499 if (ICE->getCastKind() != CK_IntegralCast && in HasEnumType() 6500 ICE->getCastKind() != CK_NoOp) in HasEnumType() 7083 if (ICE->getCastKind() == CK_BitCast && in checkObjCCollectionLiteralElement() 8105 if (E->getCastKind() == CK_LValueToRValue) in VisitCastExpr() 8754 switch (cast->getCastKind()) { in findRetainCycleOwner() [all …]
|
D | SemaExceptionSpec.cpp | 920 return DC->getCastKind() == clang::CK_Dynamic? CT_Can : CT_Cannot; in canDynamicCastThrow()
|