Lines Matching refs:FromDC
88 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);
1919 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument
1921 Importer.ImportContext(FromDC); in ImportDeclContext()
1925 for (auto *From : FromDC->decls()) in ImportDeclContext()
4708 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument
4709 if (!FromDC) in ImportContext()
4710 return FromDC; in ImportContext()
4712 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()
4719 RecordDecl *FromRecord = cast<RecordDecl>(FromDC); in ImportContext()
4729 EnumDecl *FromEnum = cast<EnumDecl>(FromDC); in ImportContext()
4739 ObjCInterfaceDecl *FromClass = cast<ObjCInterfaceDecl>(FromDC); in ImportContext()
4749 ObjCProtocolDecl *FromProto = cast<ObjCProtocolDecl>(FromDC); in ImportContext()
5008 if (DeclContext *FromDC = cast<DeclContext>(From)) { in ImportDefinition() local
5013 Importer.ImportDefinition(cast<RecordDecl>(FromDC), ToRecord, in ImportDefinition()
5021 Importer.ImportDefinition(cast<EnumDecl>(FromDC), ToEnum, in ImportDefinition()
5029 Importer.ImportDefinition(cast<ObjCInterfaceDecl>(FromDC), ToIFace, in ImportDefinition()
5037 Importer.ImportDefinition(cast<ObjCProtocolDecl>(FromDC), ToProto, in ImportDefinition()
5043 Importer.ImportDeclContext(FromDC, true); in ImportDefinition()