Home
last modified time | relevance | path

Searched refs:calleeType (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Analysis/
DCFG.cpp1840 QualType calleeType = C->getCallee()->getType(); in VisitCallExpr() local
1841 if (calleeType == Context->BoundMemberTy) { in VisitCallExpr()
1846 if (!boundType.isNull()) calleeType = boundType; in VisitCallExpr()
1850 bool NoReturn = getFunctionExtInfo(*calleeType).getNoReturn(); in VisitCallExpr()
/external/clang/lib/Sema/
DSemaExpr.cpp407 enum CalleeType { CT_Function, CT_Method, CT_Block } calleeType; in DiagnoseSentinelCalls() local
411 calleeType = CT_Method; in DiagnoseSentinelCalls()
414 calleeType = CT_Function; in DiagnoseSentinelCalls()
421 calleeType = CT_Function; in DiagnoseSentinelCalls()
424 calleeType = CT_Block; in DiagnoseSentinelCalls()
453 Diag(D->getLocation(), diag::note_sentinel_here) << int(calleeType); in DiagnoseSentinelCalls()
470 if (calleeType == CT_Method && PP.isMacroDefined("nil")) in DiagnoseSentinelCalls()
480 Diag(Loc, diag::warn_missing_sentinel) << int(calleeType); in DiagnoseSentinelCalls()
483 << int(calleeType) in DiagnoseSentinelCalls()
485 Diag(D->getLocation(), diag::note_sentinel_here) << int(calleeType); in DiagnoseSentinelCalls()