Lines Matching refs:FromDC
89 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);
2089 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument
2091 Importer.ImportContext(FromDC); in ImportDeclContext()
2095 for (auto *From : FromDC->decls()) in ImportDeclContext()
6144 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument
6145 if (!FromDC) in ImportContext()
6146 return FromDC; in ImportContext()
6148 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
6155 RecordDecl *FromRecord = cast<RecordDecl>(FromDC); in ImportContext()
6165 EnumDecl *FromEnum = cast<EnumDecl>(FromDC); in ImportContext()
6175 ObjCInterfaceDecl *FromClass = cast<ObjCInterfaceDecl>(FromDC); in ImportContext()
6185 ObjCProtocolDecl *FromProto = cast<ObjCProtocolDecl>(FromDC); in ImportContext()
6511 if (DeclContext *FromDC = cast<DeclContext>(From)) { in ImportDefinition() local
6516 Importer.ImportDefinition(cast<RecordDecl>(FromDC), ToRecord, in ImportDefinition()
6524 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()
6532 Importer.ImportDefinition(cast<ObjCInterfaceDecl>(FromDC), ToIFace, in ImportDefinition()
6540 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()
6546 Importer.ImportDeclContext(FromDC, true); in ImportDefinition()