Lines Matching refs:EnumDecl
777 Decl *TemplateDeclInstantiator::VisitEnumDecl(EnumDecl *D) { in VisitEnumDecl()
778 EnumDecl *PrevDecl = nullptr; in VisitEnumDecl()
779 if (EnumDecl *PatternPrev = getPreviousDeclForInstantiation(D)) { in VisitEnumDecl()
784 PrevDecl = cast<EnumDecl>(Prev); in VisitEnumDecl()
787 EnumDecl *Enum = EnumDecl::Create(SemaRef.Context, Owner, D->getLocStart(), in VisitEnumDecl()
827 EnumDecl *Def = D->getDefinition(); in VisitEnumDecl()
859 EnumDecl *Enum, EnumDecl *Pattern) { in InstantiateEnumDefinition()
4241 static bool isInstantiationOf(EnumDecl *Pattern, in isInstantiationOf()
4242 EnumDecl *Instance) { in isInstantiationOf()
4321 if (EnumDecl *Enum = dyn_cast<EnumDecl>(Other)) in isInstantiationOf()
4322 return isInstantiationOf(cast<EnumDecl>(D), Enum); in isInstantiationOf()
4475 NeedInstantiate = isa<EnumDecl>(D); in FindInstantiatedDecl()
4628 EnumDecl *Enum = cast<EnumDecl>(ED->getLexicalDeclContext()); in FindInstantiatedDecl()
4629 EnumDecl *Spec = cast<EnumDecl>(FindInstantiatedDecl(Loc, Enum, in FindInstantiatedDecl()