Searched refs:CalleeType (Results 1 – 4 of 4) sorted by relevance
1182 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local1183 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>()) in getCallReturnType()1184 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()1185 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>()) in getCallReturnType()1186 CalleeType = BPT->getPointeeType(); in getCallReturnType()1187 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) in getCallReturnType()1189 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()1191 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
2490 QualType CalleeType = Callee->getType(); in VisitCallExpr() local2498 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in VisitCallExpr()2518 } else if (CalleeType->isFunctionPointerType()) { in VisitCallExpr()2547 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
3112 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument3119 assert(CalleeType->isFunctionPointerType() && in EmitCall()3122 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()3125 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
312 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum11820 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local11821 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()11824 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()11825 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()11826 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()11829 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()11832 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()