Searched refs:CalleeKind (Results 1 – 1 of 1) sorted by relevance
418 enum { CK_Function, CK_Method, CK_Block } CalleeKind; in DiagnoseSentinelCalls() local422 CalleeKind = CK_Method; in DiagnoseSentinelCalls()425 CalleeKind = CK_Function; in DiagnoseSentinelCalls()433 CalleeKind = CK_Function; in DiagnoseSentinelCalls()436 CalleeKind = CK_Block; in DiagnoseSentinelCalls()464 Diag(D->getLocation(), diag::note_sentinel_here) << int(CalleeKind); in DiagnoseSentinelCalls()483 if (CalleeKind == CK_Method && PP.isMacroDefined("nil")) in DiagnoseSentinelCalls()493 Diag(Loc, diag::warn_missing_sentinel) << int(CalleeKind); in DiagnoseSentinelCalls()496 << int(CalleeKind) in DiagnoseSentinelCalls()499 << int(CalleeKind) << Attr->getRange(); in DiagnoseSentinelCalls()