Lines Matching refs:ToEnum
2046 if (EnumDecl *ToEnum = cast_or_null<EnumDecl>(ToD)) { in ImportDefinitionIfNeeded() local
2047 if (FromEnum->getDefinition() && !ToEnum->getDefinition()) { in ImportDefinitionIfNeeded()
2048 ImportDefinition(FromEnum, ToEnum); in ImportDefinitionIfNeeded()
2383 bool ASTNodeImporter::IsStructuralMatch(EnumDecl *FromEnum, EnumDecl *ToEnum) { in IsStructuralMatch() argument
2387 return Ctx.IsStructurallyEquivalent(FromEnum, ToEnum); in IsStructuralMatch()
6164 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) { in ImportContext() local
6166 if (ToEnum->isCompleteDefinition()) { in ImportContext()
6169 ASTNodeImporter(*this).ImportDefinition(FromEnum, ToEnum, in ImportContext()
6172 CompleteDecl(ToEnum); in ImportContext()
6522 if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(To)) { in ImportDefinition() local
6523 if (!ToEnum->getDefinition()) { in ImportDefinition()
6524 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()