Lines Matching defs:ND
41 void report(SourceLocation Loc, NamedDecl *ND,
43 if (!ND || Loc.isInvalid())
45 Callback(Loc, *cast<NamedDecl>(ND->getCanonicalDecl()), RT);
85 auto *ND = resolveTemplateName(TST->getTemplateName());
86 if (llvm::isa_and_present<UsingShadowDecl, TypeAliasTemplateDecl>(ND))
87 return ND;
93 return ND;
210 void reportSpecializations(SourceLocation Loc, NamedDecl *ND) {
211 const auto *TD = llvm::dyn_cast<TemplateDeclType>(ND);
312 void reportType(SourceLocation RefLoc, NamedDecl *ND) {
320 RefType RT = llvm::isa<RecordDecl>(ND->getDeclContext())
323 return report(RefLoc, ND, RT);