Lines Matching refs:Importer

284     LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST);  in ForEachMatchingDC()  local
285 Callback(Importer, Importer.GetReverse(), Origin.DC); in ForEachMatchingDC()
288 for (const std::unique_ptr<ASTImporter> &Importer : Importers) { in ForEachMatchingDC() local
290 Importer->getFromContext().getTranslationUnitDecl(); in ForEachMatchingDC()
292 static_cast<LazyASTImporter *>(Importer.get())->GetReverse(); in ForEachMatchingDC()
295 if (Callback(*Importer, Reverse, SourceDC)) in ForEachMatchingDC()
371 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin() local
372 ASTImporter &Reverse = Importer.GetReverse(); in MaybeRecordOrigin()
377 RecordOriginImpl(ToDC, Origin, Importer); in MaybeRecordOrigin()
392 ASTImporter &Importer) { in RecordOriginImpl() argument
394 Importer.ASTImporter::MapImported(cast<Decl>(Origin.DC), const_cast<Decl*>(cast<Decl>(ToDC))); in RecordOriginImpl()
429 [&Sources](std::unique_ptr<ASTImporter> &Importer) -> bool { in RemoveSources() argument
431 if (&Importer->getFromContext() == &S.getASTContext()) in RemoveSources()
453 static bool importSpecializations(DeclTy *D, ASTImporter *Importer) { in importSpecializations() argument
455 auto ImportedSpecOrError = Importer->Import(Spec); in importSpecializations()
465 static bool importSpecializationsIfNeeded(Decl *D, ASTImporter *Importer) { in importSpecializationsIfNeeded() argument
469 return importSpecializations(FunctionTD, Importer); in importSpecializationsIfNeeded()
471 return importSpecializations(ClassTD, Importer); in importSpecializationsIfNeeded()
473 return importSpecializations(VarTD, Importer); in importSpecializationsIfNeeded()
509 ASTImporter *Importer = C.second; in FindExternalVisibleDeclsByName() local
510 auto NDOrErr = Importer->Import(LookupRes); in FindExternalVisibleDeclsByName()
517 importSpecializationsIfNeeded(LookupRes, Importer); in FindExternalVisibleDeclsByName()