Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExpr.cpp1079 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local
1080 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()
DExprConstant.cpp2481 QualType CalleeType = Callee->getType(); in VisitCallExpr() local
2489 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()
/external/clang/lib/CodeGen/
DCGExpr.cpp2801 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument
2808 assert(CalleeType->isFunctionPointerType() && in EmitCall()
2811 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
2814 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
/external/clang/lib/Sema/
DSemaExpr.cpp301 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
11487 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
11488 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()