Lines Matching refs:EnumDecl
112 bool ImportDefinition(EnumDecl *From, EnumDecl *To,
128 bool IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToRecord);
138 Decl *VisitEnumDecl(EnumDecl *D);
1152 EnumDecl *D1, EnumDecl *D2) { in IsStructurallyEquivalent()
1153 EnumDecl::enumerator_iterator EC2 = D2->enumerator_begin(), in IsStructurallyEquivalent()
1155 for (EnumDecl::enumerator_iterator EC1 = D1->enumerator_begin(), in IsStructurallyEquivalent()
1381 } else if (EnumDecl *Enum1 = dyn_cast<EnumDecl>(D1)) { in Finish()
1382 if (EnumDecl *Enum2 = dyn_cast<EnumDecl>(D2)) { in Finish()
1763 EnumDecl *ToDecl in VisitEnumType()
1764 = dyn_cast_or_null<EnumDecl>(Importer.Import(T->getDecl())); in VisitEnumType()
1929 if (EnumDecl *FromEnum = dyn_cast<EnumDecl>(FromD)) { in ImportDefinitionIfNeeded()
1930 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded()
2101 bool ASTNodeImporter::ImportDefinition(EnumDecl *From, EnumDecl *To, in ImportDefinition()
2262 bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) { in IsStructuralMatch()
2459 Decl *ASTNodeImporter::VisitEnumDecl(EnumDecl *D) { in VisitEnumDecl()
2494 if (EnumDecl *FoundEnum = dyn_cast<EnumDecl>(Found)) { in VisitEnumDecl()
2510 EnumDecl *D2 = EnumDecl::Create(Importer.getToContext(), DC, in VisitEnumDecl()
2725 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc, in VisitEnumConstantDecl()
5466 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext()
5467 EnumDecl *FromEnum = cast<EnumDecl>(FromDC); in ImportContext()
5758 if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(To)) { in ImportDefinition()
5760 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()