Home
last modified time | relevance | path

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

12

/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp89 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()
DTransBlockObjCVariable.cpp55 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr()
57 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
DTransforms.cpp113 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne()
116 return implCE && implCE->getCastKind() == CK_ARCConsumeObject; in isPlusOne()
/external/clang/lib/AST/
DExpr.cpp62 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 …]
DExprConstant.cpp4332 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/
DCGCXXABI.cpp266 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment()
267 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment()
270 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
DCGExprAgg.cpp565 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()
DItaniumCXXABI.cpp665 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()
DCGExprComplex.cpp154 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr()
159 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
DCGObjC.cpp284 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()
DMicrosoftCXXABI.cpp2976 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()
DCGExpr.cpp704 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/
DDynamicTypeChecker.cpp166 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
DStackAddrEscapeChecker.cpp163 ICE->getCastKind() == CK_CopyAndAutoreleaseBlockObject) { in checkPreStmt()
DDynamicTypePropagation.cpp499 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
/external/clang/lib/Analysis/
DUninitializedValues.cpp281 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts()
473 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
DThreadSafety.cpp1648 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in checkPtAccess()
1864 if (CE->getCastKind() != CK_LValueToRValue) in VisitCastExpr()
DThreadSafetyCommon.cpp538 clang::CastKind K = CE->getCastKind(); in translateCastExpr()
DCFG.cpp1187 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/
DExprEngineC.cpp255 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast()
281 switch (CastE->getCastKind()) { in VisitCast()
DSValBuilder.cpp295 switch (CE->getCastKind()) { in getConstantVal()
DExprEngine.cpp212 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/
DRewriteObjCFoundationAPI.cpp946 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr()
1000 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
/external/clang/lib/Sema/
DSemaChecking.cpp4255 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 …]
DSemaExceptionSpec.cpp920 return DC->getCastKind() == clang::CK_Dynamic? CT_Can : CT_Cannot; in canDynamicCastThrow()

12