Searched refs:FromDC (Results 1 – 3 of 3) sorted by relevance
134 DeclContext *ImportContext(DeclContext *FromDC);
88 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);1973 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument1975 Importer.ImportContext(FromDC); in ImportDeclContext()1979 for (auto *From : FromDC->decls()) in ImportDeclContext()5446 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument5447 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()[all …]
265 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local267 if (FromDC == ToDC) return true; in MightInstantiateTo()268 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()