Searched refs:nullPos (Results 1 – 2 of 2) sorted by relevance
2374 unsigned nullPos = (unsigned)SentinelAttr::DefaultNullPos; in handleSentinelAttr() local2385 nullPos = Idx.getZExtValue(); in handleSentinelAttr()2387 if ((Idx.isSigned() && Idx.isNegative()) || nullPos > 1) { in handleSentinelAttr()2439 SentinelAttr(Attr.getRange(), S.Context, sentinel, nullPos, in handleSentinelAttr()
442 unsigned nullPos = attr->getNullPos(); in DiagnoseSentinelCalls() local443 assert((nullPos == 0 || nullPos == 1) && "invalid null position on sentinel"); in DiagnoseSentinelCalls()444 numFormalParams = (nullPos > numFormalParams ? 0 : numFormalParams - nullPos); in DiagnoseSentinelCalls()