Searched refs:FromDC (Results 1 – 3 of 3) sorted by relevance
129 DeclContext *ImportContext(DeclContext *FromDC);
88 void ImportDeclContext(DeclContext *FromDC, bool ForceImport = false);1919 void ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) { in ImportDeclContext() argument1921 Importer.ImportContext(FromDC); in ImportDeclContext()1925 for (auto *From : FromDC->decls()) in ImportDeclContext()4708 DeclContext *ASTImporter::ImportContext(DeclContext *FromDC) { in ImportContext() argument4709 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()[all …]
260 const DeclContext *FromDC = From->getDeclContext()->getPrimaryContext(); in MightInstantiateTo() local262 if (FromDC == ToDC) return true; in MightInstantiateTo()263 if (FromDC->isFileContext() || ToDC->isFileContext()) return false; in MightInstantiateTo()