Lines Matching defs:PVD
2881 static const NonNullAttr *getNonNullAttr(const Decl *FD, const ParmVarDecl *PVD,
2893 if (PVD) {
2894 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>())
3056 if (const ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(Arg)) {
3058 if (getNonNullAttr(CurCodeDecl, PVD, PVD->getType(),
3059 PVD->getFunctionScopeIndex()) &&
3063 QualType OTy = PVD->getOriginalType();
3106 const auto *AVAttr = PVD->getAttr<AlignValueAttr>();
4362 auto PVD = ParmNum < AC.getNumParams() ? AC.getParamDecl(ParmNum) : nullptr;
4363 unsigned ArgNo = PVD ? PVD->getFunctionScopeIndex() : ParmNum;
4368 NNAttr = getNonNullAttr(AC.getDecl(), PVD, ArgType, ArgNo);
4371 if (SanOpts.has(SanitizerKind::NullabilityArg) && !NNAttr && PVD &&
4372 !PVD->getType()->isRecordType()) {
4373 auto Nullability = PVD->getType()->getNullability();
4376 PVD->getTypeSourceInfo();
4390 AttrLoc = PVD->getTypeSourceInfo()->getTypeLoc().findNullabilityLoc();