Lines Matching defs:ND
208 for (const NamedDecl *ND : Pattern->lookup(D->getDeclName())) {
209 if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND))
210 ND = CTD->getTemplatedDecl();
211 if (ND->isImplicit())
215 if (ND->getKind() != D->getKind())
217 } else if (!isa<TypeDecl>(ND))
219 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) {
227 SymbolRoleSet(SymbolRole::RelationSpecializationOf), ND);
700 if (auto ND = D->getFriendDecl()) {
707 if (isa<ClassTemplateDecl>(ND) && D->getDeclContext()->isDependentContext())
709 return Visit(ND);