Searched refs:FromDC (Results 1 – 3 of 3) sorted by relevance
129 DeclContext *ImportContext(DeclContext *FromDC);
87 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);1905 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument1907 Importer.ImportContext(FromDC); in ImportDeclContext()1911 for (DeclContext::decl_iterator From = FromDC->decls_begin(), in ImportDeclContext()1912 FromEnd = FromDC->decls_end(); in ImportDeclContext()4664 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument4665 if (!FromDC) in ImportContext()4666 return FromDC; in ImportContext()4668 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC))); in ImportContext()4675 RecordDecl *FromRecord = cast<RecordDecl>(FromDC); in ImportContext()[all …]
259 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local261 if (FromDC == ToDC) return true; in MightInstantiateTo()262 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()