Lines Matching refs:CalleeType
407 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType;
411 calleeType = CT_Method;
414 calleeType = CT_Function;
421 calleeType = CT_Function;
424 calleeType = CT_Block;
453 Diag(D->getLocation(), diag::note_sentinel_here) << int(calleeType);
470 if (calleeType == CT_Method && PP.isMacroDefined("nil"))
480 Diag(Loc, diag::warn_missing_sentinel) << int(calleeType);
483 << int(calleeType)
485 Diag(D->getLocation(), diag::note_sentinel_here) << int(calleeType);
14141 QualType CalleeType = CalleeExpr->getType();
14142 if (CalleeType == S.Context.BoundMemberTy) {
14145 CalleeType = Expr::findBoundMemberType(CalleeExpr);
14146 } else if (const PointerType *Ptr = CalleeType->getAs<PointerType>()) {
14147 CalleeType = Ptr->getPointeeType();
14150 CalleeType = CalleeType->castAs<BlockPointerType>()->getPointeeType();
14153 const FunctionType *FnType = CalleeType->castAs<FunctionType>();