| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Expr.cpp | 88 if ((CE->getCastKind() == CK_DerivedToBase || in skipRValueSubobjectAdjustments() 89 CE->getCastKind() == CK_UncheckedDerivedToBase) && in skipRValueSubobjectAdjustments() 98 if (CE->getCastKind() == CK_NoOp) { in skipRValueSubobjectAdjustments() 1690 switch (getCastKind()) { in CastConsistency() 1848 if (E->getCastKind() == CK_ConstructorConversion) in getSubExprAsWritten() 1851 else if (E->getCastKind() == CK_UserDefinedConversion) { in getSubExprAsWritten() 1872 if (E->getCastKind() == CK_ConstructorConversion) in getConversionFunction() 1875 if (E->getCastKind() == CK_UserDefinedConversion) { in getConversionFunction() 2690 if (CE->getCastKind() == CK_ToVoid) { in isUnusedResultAWarning() 2713 if (CE->getCastKind() == CK_ConstructorConversion) in isUnusedResultAWarning() [all …]
|
| H A D | ExprCXX.cpp | 293 if (ICE->getCastKind() == CK_DerivedToBase || in getDestroyedType() 294 ICE->getCastKind() == CK_UncheckedDerivedToBase || in getDestroyedType() 295 ICE->getCastKind() == CK_NoOp) { in getDestroyedType() 296 assert((ICE->getCastKind() == CK_NoOp || in getDestroyedType()
|
| H A D | ExprConstant.cpp | 5939 if (ICE->getCastKind() == CK_NoOp) in HandleUnionActiveMemberChange() 5941 if (ICE->getCastKind() != CK_DerivedToBase && in HandleUnionActiveMemberChange() 5942 ICE->getCastKind() != CK_UncheckedDerivedToBase) in HandleUnionActiveMemberChange() 7785 switch (E->getCastKind()) { in VisitCastExpr() 8001 switch (E->getCastKind()) { in VisitCastExpr() 8085 switch (E->getCastKind()) { in VisitCastExpr() 8715 switch (E->getCastKind()) { in VisitCastExpr() 8746 if (E->getCastKind() == CK_AddressSpaceConversion && Result.IsNullPtr) in VisitCastExpr() 9380 if (ICE->getCastKind() != CK_NoOp && in VisitCXXNewExpr() 9381 ICE->getCastKind() != CK_IntegralCast) in VisitCXXNewExpr() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 | 688 if (castE->getCastKind() == kind) in findPeephole() 697 switch (E->getCastKind()) { in VisitCastExpr() 759 bool isToAtomic = (E->getCastKind() == CK_NonAtomicToAtomic); in VisitCastExpr() 1138 if (cast->getCastKind() == CK_LValueToRValue) in isBlockVarRef() 1394 switch (CE->getCastKind()) { in castPreservesZero() 1508 return ICE->getCastKind() == CK_NullToPointer && in isSimpleZero()
|
| H A D | ItaniumCXXABI.cpp | 899 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 900 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 901 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 904 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 914 bool isDerivedToBase = (E->getCastKind() == CK_DerivedToBaseMemberPointer); in EmitMemberPointerConversion() 954 assert(E->getCastKind() == CK_DerivedToBaseMemberPointer || in EmitMemberPointerConversion() 955 E->getCastKind() == CK_BaseToDerivedMemberPointer || in EmitMemberPointerConversion() 956 E->getCastKind() == CK_ReinterpretMemberPointer); in EmitMemberPointerConversion() 959 if (E->getCastKind() == CK_ReinterpretMemberPointer) return src; in EmitMemberPointerConversion() 965 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()
|
| H A D | CGExprComplex.cpp | 180 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitImplicitCastExpr() 185 return EmitCast(E->getCastKind(), E->getSubExpr(), E->getType()); in VisitCastExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| 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 | EnumCastOutOfRangeChecker.cpp | 101 switch (CE->getCastKind()) { 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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 274 if (CastE->getCastKind() == CK_BooleanToSignedIntegral) in handleLValueBitCast() 307 if (CastE->getCastKind() == CK_LValueToRValue) { in VisitCast() 333 switch (CastE->getCastKind()) { in VisitCast() 531 CastE->path(), *PTMSV, CastE->getCastKind())); in VisitCast()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 1776 if (CE->getCastKind() == CK_ArrayToPointerDecay) { in checkPtAccess() 2014 if (CE->getCastKind() != CK_LValueToRValue) in VisitCastExpr() 2159 if (CE->getCastKind() == CK_NoOp || in VisitDeclStmt() 2160 CE->getCastKind() == CK_ConstructorConversion || in VisitDeclStmt() 2161 CE->getCastKind() == CK_UserDefinedConversion) in VisitDeclStmt()
|
| /netbsd-src/external/apache2/llvm/dist/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());
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 948 if (ICE->getCastKind() != CK_CPointerToObjCPointerCast) in objectifyExpr() 1002 switch (ICE->getCastKind()) { in rewriteToNumericBoxedExpression()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
| H A D | IndexBody.cpp | 66 if (ICE->getCastKind() == CK_LValueToRValue) in getRolesForRef()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.cpp | 92 switch (CE->getCastKind()) { in VisitCastExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 2652 if (CE->getCastKind() != CK_IntegralToPointer && in isValidBPFPreserveEnumValueArg() 2653 CE->getCastKind() != CK_NullToPointer) in isValidBPFPreserveEnumValueArg() 8749 if (ICE->getCastKind() == CK_IntegralCast && in isArithmeticArgumentPromotion() 8760 return ICE->getCastKind() == CK_FloatingCast && in isArithmeticArgumentPromotion() 10501 clang::CastKind Kind = Cast->getCastKind(); in CheckFreeArgumentsCast() 10510 switch (Cast->getCastKind()) { in CheckFreeArgumentsCast() 10884 if (CE->getCastKind() == CK_NoOp || CE->getCastKind() == CK_LValueToRValue) in GetExprRange() 10890 bool isIntegerCast = CE->getCastKind() == CK_IntegralCast || in GetExprRange() 10891 CE->getCastKind() == CK_BooleanToSignedIntegral; in GetExprRange() 11322 if (ICE->getCastKind() != CK_IntegralCast && in HasEnumType() [all …]
|