Searched refs:getTopLevelModule (Results 1 – 14 of 14) sorted by relevance
496 const Module *TopLevelModule = Imported->getTopLevelModule(); in handleImport()562 assert(M == M->getTopLevelModule() && "Expected top level module!"); in handleTopLevelModule()683 if (Import->getTopLevelModule() != M->getTopLevelModule()) in addModulePrebuiltDeps()684 if (MDC.isPrebuiltModule(Import->getTopLevelModule())) in addModulePrebuiltDeps()685 if (SeenSubmodules.insert(Import->getTopLevelModule()).second) in addModulePrebuiltDeps()686 MD.PrebuiltModuleDeps.emplace_back(Import->getTopLevelModule()); in addModulePrebuiltDeps()703 if (Import->getTopLevelModule() != M->getTopLevelModule() && in addModuleDep()705 if (auto ImportID = handleTopLevelModule(Import->getTopLevelModule())) in addModuleDep()706 if (AddedModules.insert(Import->getTopLevelModule()).second) in addModuleDep()725 assert(Affecting == Affecting->getTopLevelModule() && in addAffectingClangModule()[all …]
666 Module *getTopLevelModule() { in getTopLevelModule() function668 const_cast<const Module *>(this)->getTopLevelModule()); in getTopLevelModule()673 const Module *getTopLevelModule() const;677 return getTopLevelModule()->Name; in getTopLevelModuleName()682 return getTopLevelModule()->ASTFile; in getASTFile()688 getTopLevelModule()->ASTFile = File; in setASTFile()
187 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
167 if (!LangOpts.isCompilingModule() && getTopLevelModule()->IsFramework && in isForBuilding()206 const Module *Module::getTopLevelModule() const { in getTopLevelModule() function in Module294 auto *Top = getTopLevelModule(); in directlyUses()
493 return M ? M->getTopLevelModule() : nullptr; in getTopLevelOrNull()554 << RequestingModule->getTopLevelModule()->Name << Filename in diagnoseHeaderInclusion()566 << RequestingModule->getTopLevelModule()->Name << Filename; in diagnoseHeaderInclusion()570 diag::kind DiagID = RequestingModule->getTopLevelModule()->IsFramework ? in diagnoseHeaderInclusion()624 if (H.getModule()->getTopLevelModule() == SourceModule) in findModuleForHeader()1105 Result->getTopLevelModule()->Directory->getName().size()); in inferFrameworkModule()1413 auto *Top = Mod->getTopLevelModule(); in resolveUses()2012 ? ActiveModule->getTopLevelModule()->getFullModuleName() in parseModuleDecl()2242 ActiveModule->getTopLevelModule()->markUnavailable(/*Unimportable=*/false); in parseModuleDecl()2243 ActiveModule->getTopLevelModule()->MissingHeaders.append( in parseModuleDecl()
2399 static_cast<Module *>(Imported)->getTopLevelModule()); in HandleHeaderIncludeOrImport()2653 if (ModuleToImport->getTopLevelModule()->ShadowingModule) { in HandleHeaderIncludeOrImport()2659 Diag(ModuleToImport->getTopLevelModule()->ShadowingModule->DefinitionLoc, in HandleHeaderIncludeOrImport()
225 auto ExportedModuleName = M->getTopLevelModule()->ExportAsModule; in getCurrentModuleAPINotes()
1616 clang::Module *TopModule = M->getTopLevelModule(); in checkConfigMacros()2087 if (!Sub && Name == "Private" && Module == Module->getTopLevelModule()) { in loadModule()2197 .resolveLinkAsDependencies(Module->getTopLevelModule()); in loadModule()
519 clang::Module *top_level_module = module->getTopLevelModule(); in ForEachMacro()
1920 if (M->isGlobalModule() && LookupModules.count(M->getTopLevelModule())) in isModuleVisible()1977 if (DeclModule->getTopLevelModule()->isModuleInterfaceUnit()) in isReachableSlow()5635 M = M->getTopLevelModule(); in diagnoseMissingImport()
1763 NewM = NewM->getTopLevelModule(); in IsRedefinitionInModule()1765 OldM = OldM->getTopLevelModule(); in IsRedefinitionInModule()
1136 M = M->getTopLevelModule(); in isInAnotherModuleUnit()
181 M = M->getTopLevelModule(); in GetAffectingModuleMaps()2868 auto *Top = Mod->getTopLevelModule(); in getLocalOrImportedSubmoduleID()6243 TouchedTopLevelModules.insert(D->getOwningModule()->getTopLevelModule()); in GetDeclRef()
4034 M && M->getTopLevelModule()->isNamedModule() && in shouldEmitFunction()4035 getContext().getCurrentNamedModule() != M->getTopLevelModule()) { in shouldEmitFunction()