Searched refs:NNAttr (Results 1 – 2 of 2) sorted by relevance
2392 for (const auto *NNAttr : FD->specific_attrs<NonNullAttr>()) { in getNonNullAttr() local2393 if (NNAttr->isNonNull(ArgNo)) in getNonNullAttr()2394 return NNAttr; in getNonNullAttr()3784 const NonNullAttr *NNAttr = nullptr; in EmitNonNullArgCheck() local3786 NNAttr = getNonNullAttr(AC.getDecl(), PVD, ArgType, ArgNo); in EmitNonNullArgCheck()3789 if (SanOpts.has(SanitizerKind::NullabilityArg) && !NNAttr && PVD) { in EmitNonNullArgCheck()3796 if (!NNAttr && !CanCheckNullability) in EmitNonNullArgCheck()3802 if (NNAttr) { in EmitNonNullArgCheck()3803 AttrLoc = NNAttr->getLocation(); in EmitNonNullArgCheck()
2053 for (const auto *NNAttr : FD->specific_attrs<NonNullAttr>()) { in getNonNullAttr() local2054 if (NNAttr->isNonNull(ArgNo)) in getNonNullAttr()2055 return NNAttr; in getNonNullAttr()3156 auto NNAttr = getNonNullAttr(FD, PVD, ArgType, ArgNo); in EmitNonNullArgCheck() local3157 if (!NNAttr) in EmitNonNullArgCheck()3166 EmitCheckSourceLocation(NNAttr->getLocation()), in EmitNonNullArgCheck()