Home | History | Annotate | Download | only in Sema

Lines Matching refs:NamedDecl

286       NamedDecl *ND = dyn_cast<NamedDecl>(New);
410 NamedDecl
683 NamedDecl **NamedChain =
684 new (SemaRef.Context)NamedDecl*[D->getChainingSize()];
688 NamedDecl *Next = SemaRef.FindInstantiatedDecl(D->getLocation(), PI,
739 NamedDecl *ND = D->getFriendDecl();
751 cast<NamedDecl>(NewND), D->getFriendLoc());
780 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
1274 NamedDecl *Prev = SemaRef.FindInstantiatedDecl(D->getLocation(),
1574 NamedDecl *PrincipalDecl = (TemplateParams
1575 ? cast<NamedDecl>(FunctionTemplate)
2346 NamedDecl *InstTarget =
2347 cast_or_null<NamedDecl>(SemaRef.FindInstantiatedDecl(
2393 NamedDecl *UD =
2417 NamedDecl *UD =
2755 typedef SmallVector<NamedDecl *, 8> ParamVector;
2759 NamedDecl *D = cast_or_null<NamedDecl>(Visit(P));
3655 if (NamedDecl *NewPrev = FindInstantiatedDecl(
4296 static bool isInstantiationOf(ASTContext &Ctx, NamedDecl *D, Decl *Other) {
4353 return D->getDeclName() && isa<NamedDecl>(Other) &&
4354 D->getDeclName() == cast<NamedDecl>(Other)->getDeclName();
4358 static NamedDecl *findInstantiationOf(ASTContext &Ctx,
4359 NamedDecl *D,
4364 return cast<NamedDecl>(*first);
4375 if (NamedDecl *D = dyn_cast<NamedDecl>(DC)) {
4407 NamedDecl *Sema::FindInstantiatedDecl(SourceLocation Loc, NamedDecl *D,
4438 return cast<NamedDecl>(FD);
4444 return cast<NamedDecl>((*Found->get<DeclArgumentPack *>())[PackIdx]);
4502 D = cast<NamedDecl>(
4589 NamedDecl *Result = nullptr;