Lines Matching refs:ImportedBy
549 while (!TopImport->ImportedBy.empty()) in getTopImportImplicitModule()
550 TopImport = TopImport->ImportedBy[0]; in getTopImportImplicitModule()
1609 if (F->ImportedBy.empty() || !F->ImportedBy[0]) { in getImportLocation()
1614 return F->ImportedBy[0]->FirstLoc; in getImportLocation()
2394 while (!ImportStack.back()->ImportedBy.empty()) in getInputFile()
2395 ImportStack.push_back(ImportStack.back()->ImportedBy[0]); in getInputFile()
2550 const ModuleFile *ImportedBy, in ReadControlBlock() argument
2570 readUnhashedControlBlock(F, ImportedBy, ClientLoadCapabilities)) in ReadControlBlock()
2664 if (Listener && !ImportedBy) { in ReadControlBlock()
2847 << F.ModuleName << F.FileName << (ImportedBy ? true : false) in ReadControlBlock()
2848 << (ImportedBy ? StringRef(ImportedBy->ModuleName) : StringRef()); in ReadControlBlock()
2893 ReadModuleMapFileBlock(Record, F, ImportedBy, ClientLoadCapabilities)) in ReadControlBlock()
3888 const ModuleFile *ImportedBy, in ReadModuleMapFileBlock() argument
3916 << (ImportedBy ? ImportedBy->FileName : "") << F.ModuleMapPath in ReadModuleMapFileBlock()
3917 << !ImportedBy; in ReadModuleMapFileBlock()
3921 if (ImportedBy && ImportedBy->Kind == MK_PCH) in ReadModuleMapFileBlock()
3935 assert((ImportedBy || F.Kind == MK_ImplicitModule) && in ReadModuleMapFileBlock()
3937 bool NotImported = F.Kind == MK_ImplicitModule && !ImportedBy; in ReadModuleMapFileBlock()
3940 << F.ModuleName << (NotImported ? F.FileName : ImportedBy->FileName) in ReadModuleMapFileBlock()
4316 if (!M.ImportedBy) in ReadAST()
4319 F.ImportLoc = TranslateSourceLocation(*M.ImportedBy, M.ImportLoc); in ReadAST()
4468 ModuleFile *ImportedBy, in ReadASTCore() argument
4476 = ModuleMgr.addModule(FileName, Type, ImportLoc, ImportedBy, in ReadASTCore()
4484 << M->ModuleName << M->FileName << (ImportedBy ? true : false) in ReadASTCore()
4485 << (ImportedBy ? StringRef(ImportedBy->ModuleName) : StringRef()); in ReadASTCore()
4563 switch (ReadControlBlock(F, Loaded, ImportedBy, ClientLoadCapabilities)) { in ReadASTCore()
4597 Loaded.push_back(ImportedModule(M, ImportedBy, ImportLoc)); in ReadASTCore()