Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DExpr.cpp1182 QualType CalleeType = getCallee()->getType(); in getCallReturnType() local
1183 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()
DExprConstant.cpp2490 QualType CalleeType = Callee->getType(); in VisitCallExpr() local
2498 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()
/external/clang/lib/CodeGen/
DCGExpr.cpp3112 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, in EmitCall() argument
3119 assert(CalleeType->isFunctionPointerType() && in EmitCall()
3122 CalleeType = getContext().getCanonicalType(CalleeType); in EmitCall()
3125 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType()); in EmitCall()
/external/clang/lib/Sema/
DSemaExpr.cpp312 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() enum
11820 QualType CalleeType = CalleeExpr->getType(); in VisitCallExpr() local
11821 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()