Searched refs:CalleeType (Results 1 – 4 of 4) sorted by relevance
1079 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local1080 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>()) in getCallReturnType()1081 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()1082 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>()) in getCallReturnType()1083 CalleeType = BPT->getPointeeType(); in getCallReturnType()1084 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) in getCallReturnType()1086 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()1088 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
2481 QualType CalleeType = Callee->getType(); in VisitCallExpr() local2489 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in VisitCallExpr()2509 } else if (CalleeType->isFunctionPointerType()) { in VisitCallExpr()2538 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
2801 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument2808 assert(CalleeType->isFunctionPointerType() && in EmitCall()2811 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()2814 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
301 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum11487 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local11488 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()11491 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()11492 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()11493 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()11496 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()11499 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()