Lines Matching defs:PVD
2923 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD,
2935 if (PVD) {
2936 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>())
3098 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) {
3100 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(),
3101 PVD->getFunctionScopeIndex()) &&
3105 QualType OTy = PVD->getOriginalType();
3148 const auto *AVAttr = PVD->getAttr<AlignValueAttr>();
4414 auto PVD = ParmNum < AC.getNumParams() ? AC.getParamDecl(ParmNum) : nullptr;
4415 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum;
4420 NNAttr = getNonNullAttr(AC.getDecl(), PVD, ArgType, ArgNo);
4423 if (SanOpts.has(SanitizerKind::NullabilityArg) && !NNAttr && PVD &&
4424 !PVD->getType()->isRecordType()) {
4425 auto Nullability = PVD->getType()->getNullability();
4428 PVD->getTypeSourceInfo();
4442 AttrLoc = PVD->getTypeSourceInfo()->getTypeLoc().findNullabilityLoc();