Lines Matching refs:ToEnum
1876 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded() local
1877 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded()
1878 ImportDefinition(FromEnum, ToEnum); in ImportDefinitionIfNeeded()
2210 bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) { in IsStructuralMatch() argument
2214 return Ctx.IsStructurallyEquivalent(FromEnum, ToEnum); in IsStructuralMatch()
4728 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext() local
4730 if (ToEnum->isCompleteDefinition()) { in ImportContext()
4733 ASTNodeImporter(*this).ImportDefinition(FromEnum, ToEnum, in ImportContext()
4736 CompleteDecl(ToEnum); in ImportContext()
5019 if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(To)) { in ImportDefinition() local
5020 if (!ToEnum->getDefinition()) { in ImportDefinition()
5021 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()