Lines Matching refs:ToEnum
1930 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded() local
1931 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded()
1932 ImportDefinition(FromEnum, ToEnum); in ImportDefinitionIfNeeded()
2262 bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) { in IsStructuralMatch() argument
2266 return Ctx.IsStructurallyEquivalent(FromEnum, ToEnum); in IsStructuralMatch()
5466 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext() local
5468 if (ToEnum->isCompleteDefinition()) { in ImportContext()
5471 ASTNodeImporter(*this).ImportDefinition(FromEnum, ToEnum, in ImportContext()
5474 CompleteDecl(ToEnum); in ImportContext()
5758 if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(To)) { in ImportDefinition() local
5759 if (!ToEnum->getDefinition()) { in ImportDefinition()
5760 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()