Home
last modified time | relevance | path

Searched refs:CalleeType (Results 1 – 5 of 5) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/lib/AST/
DExpr.cpp1249 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local
1250 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>()) in getCallReturnType()
1251 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()
1252 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>()) in getCallReturnType()
1253 CalleeType = BPT->getPointeeType(); in getCallReturnType()
1254 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) in getCallReturnType()
1256 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()
1258 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
DExprConstant.cpp3936 QualType CalleeType = Callee->getType(); in VisitCallExpr() local
3944 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in VisitCallExpr()
3964 } else if (CalleeType->isFunctionPointerType()) { in VisitCallExpr()
3993 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGExpr.cpp3121 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument
3129 assert(CalleeType->isFunctionPointerType() && in EmitCall()
3132 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
3135 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
3175 EmitCheckTypeDescriptor(CalleeType) in EmitCall()
DCGExprCXX.cpp935 const FunctionProtoType *CalleeType, in EmitNewDeleteCall() argument
940 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall(Args, CalleeType), in EmitNewDeleteCall()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaExpr.cpp347 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
12776 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
12777 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()
12780 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()
12781 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()
12782 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()
12785 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()
12788 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()