Lines Matching refs:FromDC
88 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);
1973 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument
1975 Importer.ImportContext(FromDC); in ImportDeclContext()
1979 for (auto *From : FromDC->decls()) in ImportDeclContext()
5446 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument
5447 if (!FromDC) in ImportContext()
5448 return FromDC; in ImportContext()
5450 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
5457 RecordDecl *FromRecord = cast<RecordDecl>(FromDC); in ImportContext()
5467 EnumDecl *FromEnum = cast<EnumDecl>(FromDC); in ImportContext()
5477 ObjCInterfaceDecl *FromClass = cast<ObjCInterfaceDecl>(FromDC); in ImportContext()
5487 ObjCProtocolDecl *FromProto = cast<ObjCProtocolDecl>(FromDC); in ImportContext()
5747 if (DeclContext *FromDC = cast<DeclContext>(From)) { in ImportDefinition() local
5752 Importer.ImportDefinition(cast<RecordDecl>(FromDC), ToRecord, in ImportDefinition()
5760 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()
5768 Importer.ImportDefinition(cast<ObjCInterfaceDecl>(FromDC), ToIFace, in ImportDefinition()
5776 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()
5782 Importer.ImportDeclContext(FromDC, true); in ImportDefinition()