| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | IgnoreExpr.h | 94 if (CE->getCastKind() != CK_LValueToRValue) in IgnoreLValueCastsSingleStep() 102 if (CE->getCastKind() == CK_DerivedToBase || in IgnoreBaseCastsSingleStep() 103 CE->getCastKind() == CK_UncheckedDerivedToBase || in IgnoreBaseCastsSingleStep() 104 CE->getCastKind() == CK_NoOp) in IgnoreBaseCastsSingleStep()
|
| /freebsd-13.1/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 | 108 while (implCE && implCE->getCastKind() == CK_BitCast) in isPlusOne() 111 return implCE && implCE->getCastKind() == CK_ARCConsumeObject; in isPlusOne()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 98 if (CE->getCastKind() == CK_NoOp) { in skipRValueSubobjectAdjustments() 1758 switch (getCastKind()) { in CastConsistency() 2762 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning() 2787 if (CE->getCastKind() == CK_Dependent) in isUnusedResultAWarning() 3041 if (ICE->getCastKind() == CK_NoOp) in skipTemporaryBindingsNoOpCastsAndParens() 3051 if (ICE->getCastKind() == CK_NoOp) in skipTemporaryBindingsNoOpCastsAndParens() 3115 if (ICE->getCastKind() == CK_NoOp || in isImplicitCXXThis() 3302 if (CE->getCastKind() == CK_NoOp || in isConstantInitializer() 3304 CE->getCastKind() == CK_ToUnion || in isConstantInitializer() 3580 DCE->getCastKind() == CK_Dynamic) in HasSideEffects() [all …]
|
| H A D | ExprCXX.cpp | 294 if (ICE->getCastKind() == CK_DerivedToBase || in getDestroyedType() 295 ICE->getCastKind() == CK_UncheckedDerivedToBase || in getDestroyedType() 296 ICE->getCastKind() == CK_NoOp) { in getDestroyedType() 297 assert((ICE->getCastKind() == CK_NoOp || in getDestroyedType()
|
| H A D | ExprConstant.cpp | 7788 switch (E->getCastKind()) { in VisitCastExpr() 8004 switch (E->getCastKind()) { in VisitCastExpr() 8088 switch (E->getCastKind()) { in VisitCastExpr() 8738 switch (E->getCastKind()) { in VisitCastExpr() 9595 switch (E->getCastKind()) { in VisitCastExpr() 9765 switch (E->getCastKind()) { in VisitCastExpr() 10199 switch (E->getCastKind()) { in VisitCastExpr() 13182 switch (E->getCastKind()) { in VisitCastExpr() 13427 switch (E->getCastKind()) { in VisitCastExpr() 13791 switch (E->getCastKind()) { in VisitCastExpr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A 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()
|
| H A D | CGExprAgg.cpp | 692 if (castE->getCastKind() == kind) in findPeephole() 701 switch (E->getCastKind()) { in VisitCastExpr() 763 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic); in VisitCastExpr() 1142 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef() 1398 switch (CE->getCastKind()) { in castPreservesZero() 1512 return ICE->getCastKind() == CK_NullToPointer && in isSimpleZero()
|
| H A D | ItaniumCXXABI.cpp | 908 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 909 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 910 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 913 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 923 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion() 963 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 964 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 965 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 968 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 974 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion()
|
| H A D | CGExpr.cpp | 971 if (CE->getCastKind() == CK_ArrayToPointerDecay && in getArrayIndexingBound() 1085 switch (CE->getCastKind()) { in EmitPointerWithAlignment() 1120 CE->getCastKind() == CK_BitCast) { in EmitPointerWithAlignment() 1127 return CE->getCastKind() != CK_AddressSpaceConversion in EmitPointerWithAlignment() 3571 if (!CE || CE->getCastKind() != CK_ArrayToPointerDecay) in isSimpleArrayDecayOperand() 4616 switch (E->getCastKind()) { in EmitCastLValue() 4904 if (ICE->getCastKind() == CK_FunctionToPointerDecay || in EmitCallee() 4905 ICE->getCastKind() == CK_BuiltinFnToFnPtr) { in EmitCallee()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | EnumCastOutOfRangeChecker.cpp | 101 switch (CE->getCastKind()) { in checkPreStmt()
|
| H A D | PointerArithChecker.cpp | 259 if (CE->getCastKind() != CastKind::CK_BitCast) in checkPostStmt() 277 if (CE->getCastKind() != CastKind::CK_ArrayToPointerDecay) in checkPreStmt()
|
| H A D | DeleteWithNonVirtualDtorChecker.cpp | 124 if (ImplCastE->getCastKind() != CK_DerivedToBase) in VisitNode()
|
| H A D | DynamicTypeChecker.cpp | 157 if (CE->getCastKind() != CK_BitCast) in checkPostStmt()
|
| H A D | StackAddrEscapeChecker.cpp | 286 ICE->getCastKind() == CK_CopyAndAutoreleaseBlockObject) { in checkPreStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 274 if (CastE->getCastKind() == CK_BooleanToSignedIntegral) in handleLValueBitCast() 291 if (CastE->getCastKind() == CK_LValueToRValue || in VisitCast() 292 CastE->getCastKind() == CK_LValueToRValueBitCast) { in VisitCast() 318 switch (CastE->getCastKind()) { in VisitCast() 516 CastE->path(), *PTMSV, CastE->getCastKind())); in VisitCast()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 239 if (CE->getCastKind() == CK_LValueBitCast) { in stripCasts() 447 if (CE->getCastKind() == CK_LValueToRValue) in VisitCastExpr()
|
| H A D | ThreadSafety.cpp | 1778 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in checkPtAccess() 2016 if (CE->getCastKind() != CK_LValueToRValue) in VisitCastExpr() 2161 if (CE->getCastKind() == CK_NoOp || in VisitDeclStmt() 2162 CE->getCastKind() == CK_ConstructorConversion || in VisitDeclStmt() 2163 CE->getCastKind() == CK_UserDefinedConversion) in VisitDeclStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 193 static Optional<CastKind> getCastKind(llvm::StringRef AttrKind) { 207 return getCastKind(Value.getString()).hasValue(); 211 return *getCastKind(Value.getString());
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTResultSynthesizer.cpp | 238 if (implicit_cast->getCastKind() != CK_LValueToRValue) in SynthesizeBodyResult()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 948 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr() 1002 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.cpp | 92 switch (CE->getCastKind()) { in VisitCastExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 66 if (ICE->getCastKind() == CK_LValueToRValue) in getRolesForRef()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 2657 CE->getCastKind() != CK_NullToPointer) in isValidBPFPreserveEnumValueArg() 9021 if (ICE->getCastKind() == CK_IntegralCast && in isArithmeticArgumentPromotion() 10774 clang::CastKind Kind = Cast->getCastKind(); in CheckFreeArgumentsCast() 10783 switch (Cast->getCastKind()) { in CheckFreeArgumentsCast() 11157 if (CE->getCastKind() == CK_NoOp || CE->getCastKind() == CK_LValueToRValue) in GetExprRange() 11596 ICE->getCastKind() != CK_NoOp) in HasEnumType() 12357 if (ICE->getCastKind() == CK_BitCast && in checkObjCCollectionLiteralElement() 14547 switch (CE->getCastKind()) { in getBaseAlignmentAndOffsetFromLValue() 14635 switch (CE->getCastKind()) { in getBaseAlignmentAndOffsetFromPtr() 15093 switch (cast->getCastKind()) { in findRetainCycleOwner() [all …]
|