Home
last modified time | relevance | path

Searched refs:getTopLevelModule (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp496 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 …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h666 Module *getTopLevelModule() { in getTopLevelModule() function
668 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()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h187 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DModule.cpp167 if (!LangOpts.isCompilingModule() && getTopLevelModule()->IsFramework && in isForBuilding()
206 const Module *Module::getTopLevelModule() const { in getTopLevelModule() function in Module
294 auto *Top = getTopLevelModule(); in directlyUses()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DModuleMap.cpp493 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()
H A DPPDirectives.cpp2399 static_cast<Module *>(Imported)->getTopLevelModule()); in HandleHeaderIncludeOrImport()
2653 if (ModuleToImport->getTopLevelModule()->ShadowingModule) { in HandleHeaderIncludeOrImport()
2659 Diag(ModuleToImport->getTopLevelModule()->ShadowingModule->DefinitionLoc, in HandleHeaderIncludeOrImport()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp225 auto ExportedModuleName = M->getTopLevelModule()->ExportAsModule; in getCurrentModuleAPINotes()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp1616 clang::Module *TopModule = M->getTopLevelModule(); in checkConfigMacros()
2087 if (!Sub && Name == "Private" && Module == Module->getTopLevelModule()) { in loadModule()
2197 .resolveLinkAsDependencies(Module->getTopLevelModule()); in loadModule()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp519 clang::Module *top_level_module = module->getTopLevelModule(); in ForEachMacro()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp1920 if (M->isGlobalModule() && LookupModules.count(M->getTopLevelModule())) in isModuleVisible()
1977 if (DeclModule->getTopLevelModule()->isModuleInterfaceUnit()) in isReachableSlow()
5635 M = M->getTopLevelModule(); in diagnoseMissingImport()
H A DSemaDecl.cpp1763 NewM = NewM->getTopLevelModule(); in IsRedefinitionInModule()
1765 OldM = OldM->getTopLevelModule(); in IsRedefinitionInModule()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1136 M = M->getTopLevelModule(); in isInAnotherModuleUnit()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp181 M = M->getTopLevelModule(); in GetAffectingModuleMaps()
2868 auto *Top = Mod->getTopLevelModule(); in getLocalOrImportedSubmoduleID()
6243 TouchedTopLevelModules.insert(D->getOwningModule()->getTopLevelModule()); in GetDeclRef()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp4034 M && M->getTopLevelModule()->isNamedModule() && in shouldEmitFunction()
4035 getContext().getCurrentNamedModule() != M->getTopLevelModule()) { in shouldEmitFunction()