Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExpr.cpp949 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local
950 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>()) in getCallReturnType()
951 CalleeType = FnTypePtr->getPointeeType(); in getCallReturnType()
952 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>()) in getCallReturnType()
953 CalleeType = BPT->getPointeeType(); in getCallReturnType()
954 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember)) in getCallReturnType()
956 CalleeType = Expr::findBoundMemberType(getCallee()); in getCallReturnType()
958 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType()
DExprConstant.cpp2564 QualType CalleeType = Callee->getType(); in VisitCallExpr() local
2572 if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { in VisitCallExpr()
2592 } else if (CalleeType->isFunctionPointerType()) { in VisitCallExpr()
2621 if (!Info.Ctx.hasSameType(CalleeType->getPointeeType(), FD->getType())) in VisitCallExpr()
/external/clang/lib/CodeGen/
DCGExpr.cpp2632 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument
2639 assert(CalleeType->isFunctionPointerType() && in EmitCall()
2642 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
2645 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
/external/clang/lib/Sema/
DSemaExpr.cpp220 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
10967 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
10968 if (CalleeType == S.Context.BoundMemberTy) { in VisitCallExpr()
10971 CalleeType = Expr::findBoundMemberType(CalleeExpr); in VisitCallExpr()
10972 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) { in VisitCallExpr()
10973 CalleeType = Ptr->getPointeeType(); in VisitCallExpr()
10976 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType(); in VisitCallExpr()
10979 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr()