Searched refs:nullPos (Results 1 – 2 of 2) sorted by relevance
2568 unsigned nullPos = 0; in handleSentinelAttr() local2578 nullPos = Idx.getZExtValue(); in handleSentinelAttr()2580 if ((Idx.isSigned() && Idx.isNegative()) || nullPos > 1) { in handleSentinelAttr()2631 SentinelAttr(Attr.getRange(), S.Context, sentinel, nullPos, in handleSentinelAttr()
347 unsigned nullPos = attr->getNullPos(); in DiagnoseSentinelCalls() local348 assert((nullPos == 0 || nullPos == 1) && "invalid null position on sentinel"); in DiagnoseSentinelCalls()349 numFormalParams = (nullPos > numFormalParams ? 0 : numFormalParams - nullPos); in DiagnoseSentinelCalls()