Searched refs:nullPos (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp2731 unsigned nullPos = (unsigned)SentinelAttr::DefaultNullPos; local
2741 nullPos = Idx.getZExtValue();
2743 if ((Idx.isSigned() && Idx.isNegative()) || nullPos > 1) {
2794 D->addAttr(::new (S.Context) SentinelAttr(S.Context, AL, sentinel, nullPos));
H A DSemaExpr.cpp412 // "nullPos" is the number of formal parameters at the end which
416 unsigned nullPos = attr->getNullPos(); local
417 assert((nullPos == 0 || nullPos == 1) && "invalid null position on sentinel");
418 numFormalParams = (nullPos > numFormalParams ? 0 : numFormalParams - nullPos);

Completed in 202 milliseconds