Searched defs:CalleeType (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/AST/
H A DExpr.cpp804 QualType CalleeType = getCallee()->getType(); local
805 if (const PointerType *FnTypePtr = CalleeType->getAs<PointerType>())
806 CalleeType = FnTypePtr->getPointeeType();
807 else if (const BlockPointerType *BPT = CalleeType->getAs<BlockPointerType>())
808 CalleeType = BPT->getPointeeType();
809 else if (CalleeType->isSpecificPlaceholderType(BuiltinType::BoundMember))
811 CalleeType = Expr::findBoundMemberType(getCallee());
813 const FunctionType *FnType = CalleeType->castAs<FunctionType>();
/external/clang/lib/CodeGen/
H A DCGExpr.cpp2412 RValue CodeGenFunction::EmitCall(QualType CalleeType, llvm::Value *Callee, argument
2419 assert(CalleeType->isFunctionPointerType() &&
2422 CalleeType = getContext().getCanonicalType(CalleeType);
2425 = cast<FunctionType>(cast<PointerType>(CalleeType)->getPointeeType());
/external/clang/lib/Sema/
H A DSemaExpr.cpp198 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; enum
9894 QualType CalleeType = CalleeExpr->getType(); local
9895 if (CalleeType == S.Context.BoundMemberTy) {
9898 CalleeType = Expr::findBoundMemberType(CalleeExpr);
9899 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) {
9900 CalleeType = Ptr->getPointeeType();
9903 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType();
9906 const FunctionType *FnType = CalleeType->castAs<FunctionType>();

Completed in 77 milliseconds