Lines Matching refs:EnumDecl
601 Decl *TemplateDeclInstantiator::VisitEnumDecl(EnumDecl *D) {
602 EnumDecl *PrevDecl = 0;
608 PrevDecl = cast<EnumDecl>(Prev);
611 EnumDecl *Enum = EnumDecl::Create(SemaRef.Context, Owner, D->getLocStart(),
641 EnumDecl *Def = D->getDefinition();
674 EnumDecl *Enum, EnumDecl *Pattern) {
683 for (EnumDecl::enumerator_iterator EC = Pattern->enumerator_begin(),
3860 static bool isInstantiationOf(EnumDecl *Pattern,
3861 EnumDecl *Instance) {
3939 if (EnumDecl *Enum = dyn_cast<EnumDecl>(Other))
3940 return isInstantiationOf(cast<EnumDecl>(D), Enum);
4200 EnumDecl *Enum = cast<EnumDecl>(ED->getLexicalDeclContext());
4201 EnumDecl *Spec = cast<EnumDecl>(FindInstantiatedDecl(Loc, Enum,