Lines Matching refs:dcl
10394 ValueDecl *dcl = getPrimaryDecl(op); in CheckAddressOfOperand() local
10396 if (auto *FD = dyn_cast_or_null<FunctionDecl>(dcl)) in CheckAddressOfOperand()
10477 } else if (dcl) { // C99 6.5.3.2p1 in CheckAddressOfOperand()
10480 if (const VarDecl *vd = dyn_cast<VarDecl>(dcl)) { in CheckAddressOfOperand()
10487 } else if (isa<MSPropertyDecl>(dcl)) { in CheckAddressOfOperand()
10489 } else if (isa<FunctionTemplateDecl>(dcl)) { in CheckAddressOfOperand()
10491 } else if (isa<FieldDecl>(dcl) || isa<IndirectFieldDecl>(dcl)) { in CheckAddressOfOperand()
10496 DeclContext *Ctx = dcl->getDeclContext(); in CheckAddressOfOperand()
10498 if (dcl->getType()->isReferenceType()) { in CheckAddressOfOperand()
10501 << dcl->getDeclName() << dcl->getType(); in CheckAddressOfOperand()
10517 } else if (!isa<FunctionDecl>(dcl) && !isa<NonTypeTemplateParmDecl>(dcl)) in CheckAddressOfOperand()