Home
last modified time | relevance | path

Searched refs:NNAttr (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/CodeGen/
DCGCall.cpp2392 for (const auto *NNAttr : FD->specific_attrs<NonNullAttr>()) { in getNonNullAttr() local
2393 if (NNAttr->isNonNull(ArgNo)) in getNonNullAttr()
2394 return NNAttr; in getNonNullAttr()
3784 const NonNullAttr *NNAttr = nullptr; in EmitNonNullArgCheck() local
3786 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()
/external/clang/lib/CodeGen/
DCGCall.cpp2053 for (const auto *NNAttr : FD->specific_attrs<NonNullAttr>()) { in getNonNullAttr() local
2054 if (NNAttr->isNonNull(ArgNo)) in getNonNullAttr()
2055 return NNAttr; in getNonNullAttr()
3156 auto NNAttr = getNonNullAttr(FD, PVD, ArgType, ArgNo); in EmitNonNullArgCheck() local
3157 if (!NNAttr) in EmitNonNullArgCheck()
3166 EmitCheckSourceLocation(NNAttr->getLocation()), in EmitNonNullArgCheck()