| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | IgnoreExpr.h | 95 if (CE->getCastKind() != CK_LValueToRValue) in IgnoreLValueCastsSingleStep() 103 if (CE->getCastKind() == CK_DerivedToBase || in IgnoreBaseCastsSingleStep() 104 CE->getCastKind() == CK_UncheckedDerivedToBase || in IgnoreBaseCastsSingleStep() 105 CE->getCastKind() == CK_NoOp) in IgnoreBaseCastsSingleStep()
|
| /src/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 88 if (E->getCastKind() != CK_CPointerToObjCPointerCast && in VisitCastExpr() 89 E->getCastKind() != CK_BitCast && in VisitCastExpr() 90 E->getCastKind() != CK_AnyPointerToBlockPointerCast) in VisitCastExpr() 394 if (implCE->getCastKind() == CK_ARCConsumeObject) in transformObjCToNonObjCCast() 396 if (implCE->getCastKind() == CK_ARCReclaimReturnedObject) in transformObjCToNonObjCCast()
|
| H A D | TransBlockObjCVariable.cpp | 54 if (castE->getCastKind() == CK_LValueToRValue) in TraverseImplicitCastExpr() 56 if (castE->getCastKind() == CK_NoOp && castE->isLValue() && in TraverseImplicitCastExpr()
|
| H A D | Transforms.cpp | 107 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne() 110 return implCE && implCE->getCastKind() == CK_ARCConsumeObject; in isPlusOne()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 90 if ((CE->getCastKind() == CK_DerivedToBase || in skipRValueSubobjectAdjustments() 91 CE->getCastKind() == CK_UncheckedDerivedToBase) && in skipRValueSubobjectAdjustments() 100 if (CE->getCastKind() == CK_NoOp) { in skipRValueSubobjectAdjustments() 1822 switch (getCastKind()) { in CastConsistency() 1989 if (E->getCastKind() == CK_ConstructorConversion) { in getSubExprAsWritten() 1992 } else if (E->getCastKind() == CK_UserDefinedConversion) { in getSubExprAsWritten() 2009 if (E->getCastKind() == CK_ConstructorConversion) in getConversionFunction() 2012 if (E->getCastKind() == CK_UserDefinedConversion) { in getConversionFunction() 2904 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning() 2927 if (CE->getCastKind() == CK_ConstructorConversion) in isUnusedResultAWarning() [all …]
|
| H A D | ExprCXX.cpp | 345 if (ICE->getCastKind() == CK_DerivedToBase || in getDestroyedType() 346 ICE->getCastKind() == CK_UncheckedDerivedToBase || in getDestroyedType() 347 ICE->getCastKind() == CK_NoOp) { in getDestroyedType() 348 assert((ICE->getCastKind() == CK_NoOp || in getDestroyedType() 822 if (isValueDependent() || getCastKind() != CK_Dynamic) in isAlwaysNull()
|
| H A D | ExprConstant.cpp | 6179 if (ICE->getCastKind() == CK_NoOp) in MaybeHandleUnionActiveMemberChange() 6181 if (ICE->getCastKind() != CK_DerivedToBase && in MaybeHandleUnionActiveMemberChange() 6182 ICE->getCastKind() != CK_UncheckedDerivedToBase) in MaybeHandleUnionActiveMemberChange() 8216 switch (E->getCastKind()) { in VisitCastExpr() 8436 switch (E->getCastKind()) { in VisitCastExpr() 8521 switch (E->getCastKind()) { in VisitCastExpr() 9253 switch (E->getCastKind()) { in VisitCastExpr() 9305 if (E->getCastKind() == CK_AddressSpaceConversion && Result.IsNullPtr) in VisitCastExpr() 9947 if (ICE->getCastKind() != CK_NoOp && in VisitCXXNewExpr() 9948 ICE->getCastKind() != CK_IntegralCast) in VisitCXXNewExpr() [all …]
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBPF.cpp | 87 if (CE->getCastKind() != CK_IntegralToPointer && in isValidPreserveEnumValueArg() 88 CE->getCastKind() != CK_NullToPointer) in isValidPreserveEnumValueArg()
|
| H A D | CheckExprLifetime.cpp | 528 if (ICE && ICE->getCastKind() == CK_ArrayToPointerDecay) in visitLocalsRetainedByReferenceBinding() 668 switch (CE->getCastKind()) { in visitLocalsRetainedByInitializer()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.cpp | 287 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in getMemberPointerAdjustment() 288 E->getCastKind() == CK_BaseToDerivedMemberPointer); in getMemberPointerAdjustment() 291 if (E->getCastKind() == CK_DerivedToBaseMemberPointer) in getMemberPointerAdjustment()
|
| H A D | CGExprAgg.cpp | 729 if (castE->getCastKind() == kind) in findPeephole() 738 switch (E->getCastKind()) { in VisitCastExpr() 797 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic); in VisitCastExpr() 1180 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef() 1424 switch (CE->getCastKind()) { in castPreservesZero() 1540 return ICE->getCastKind() == CK_NullToPointer && in isSimpleZero()
|
| H A D | ItaniumCXXABI.cpp | 930 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 931 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 932 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 978 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 983 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion() 1051 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 1052 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 1053 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 1062 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 1068 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PointerArithChecker.cpp | 253 if (CE->getCastKind() != CastKind::CK_BitCast) in checkPostStmt() 271 if (CE->getCastKind() != CastKind::CK_ArrayToPointerDecay) in checkPreStmt()
|
| H A D | EnumCastOutOfRangeChecker.cpp | 123 switch (CE->getCastKind()) { in checkPreStmt()
|
| H A D | DynamicTypeChecker.cpp | 151 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
|
| H A D | StackAddrEscapeChecker.cpp | 283 ICE->getCastKind() == CK_CopyAndAutoreleaseBlockObject) { in checkPreStmt()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 270 if (CastE->getCastKind() == CK_BooleanToSignedIntegral && V.isValid()) in handleLValueBitCast() 288 if (CastE->getCastKind() == CK_LValueToRValue || in VisitCast() 289 CastE->getCastKind() == CK_LValueToRValueBitCast) { in VisitCast() 310 switch (CastE->getCastKind()) { in VisitCast() 513 CastE->path(), *PTMSV, CastE->getCastKind())); in VisitCast()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 30 if ((Cast->getCastKind() == CK_DerivedToBase || in canExprResolveTo() 31 Cast->getCastKind() == CK_UncheckedDerivedToBase) && in canExprResolveTo()
|
| H A D | UninitializedValues.cpp | 254 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts() 462 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
| H A D | ThreadSafety.cpp | 1751 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in checkPtAccess() 1986 if (CE->getCastKind() != CK_LValueToRValue) in VisitCastExpr() 2104 if (CE->getCastKind() == CK_NoOp) in UnpackConstruction() 2107 if (CE->getCastKind() == CK_ConstructorConversion || in UnpackConstruction() 2108 CE->getCastKind() == CK_UserDefinedConversion) in UnpackConstruction()
|
| /src/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 289 switch (S->getCastKind()) { in VisitImplicitCastExpr() 683 if (S->getCastKind() == CK_NoOp) { in VisitCXXStaticCastExpr()
|
| /src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 192 static std::optional<CastKind> getCastKind(llvm::StringRef AttrKind) { 206 return getCastKind(Value.getString()).has_value(); 210 return *getCastKind(Value.getString());
|
| /src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.cpp | 260 if (implicit_cast->getCastKind() != CK_LValueToRValue) in SynthesizeBodyResult()
|
| /src/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 945 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr() 999 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
|
| /src/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 70 if (ICE->getCastKind() == CK_LValueToRValue) in getRolesForRef()
|