Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp427 const Module *TopLevelModule = Imported->getTopLevelModule(); in handleImport()
493 assert(M == M->getTopLevelModule() && "Expected top level module!"); in handleTopLevelModule()
607 if (Import->getTopLevelModule() != M->getTopLevelModule()) in addModulePrebuiltDeps()
608 if (MDC.isPrebuiltModule(Import->getTopLevelModule())) in addModulePrebuiltDeps()
609 if (SeenSubmodules.insert(Import->getTopLevelModule()).second) in addModulePrebuiltDeps()
610 MD.PrebuiltModuleDeps.emplace_back(Import->getTopLevelModule()); in addModulePrebuiltDeps()
627 if (Import->getTopLevelModule() != M->getTopLevelModule() && in addModuleDep()
629 if (auto ImportID = handleTopLevelModule(Import->getTopLevelModule())) in addModuleDep()
630 if (AddedModules.insert(Import->getTopLevelModule()).second) in addModuleDep()
649 assert(Affecting == Affecting->getTopLevelModule() && in addAffectingClangModule()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DModule.h660 Module *getTopLevelModule() { in getTopLevelModule() function
662 const_cast<const Module *>(this)->getTopLevelModule()); in getTopLevelModule()
667 const Module *getTopLevelModule() const;
671 return getTopLevelModule()->Name; in getTopLevelModuleName()
676 return getTopLevelModule()->ASTFile; in getASTFile()
682 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()
1106 Result->getTopLevelModule()->Directory->getName().size()); in inferFrameworkModule()
1408 auto *Top = Mod->getTopLevelModule(); in resolveUses()
2008 ? ActiveModule->getTopLevelModule()->getFullModuleName() in parseModuleDecl()
2235 ActiveModule->getTopLevelModule()->markUnavailable(/*Unimportable=*/false); in parseModuleDecl()
2236 ActiveModule->getTopLevelModule()->MissingHeaders.append( in parseModuleDecl()
H A DPPDirectives.cpp2321 static_cast<Module *>(Imported)->getTopLevelModule()); in HandleHeaderIncludeOrImport()
2577 if (SM->getTopLevelModule()->ShadowingModule) { in HandleHeaderIncludeOrImport()
2582 Diag(SM->getTopLevelModule()->ShadowingModule->DefinitionLoc, in HandleHeaderIncludeOrImport()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp530 clang::Module *top_level_module = module->getTopLevelModule(); in ForEachMacro()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInstance.cpp2036 if (!Sub && Name == "Private" && Module == Module->getTopLevelModule()) { in loadModule()
2143 clang::Module *TopModule = Module->getTopLevelModule(); in loadModule()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp1899 if (M->isGlobalModule() && LookupModules.count(M->getTopLevelModule())) in isModuleVisible()
1956 if (DeclModule->getTopLevelModule()->isModuleInterfaceUnit()) in isReachableSlow()
5771 M = M->getTopLevelModule(); in diagnoseMissingImport()
H A DSemaDecl.cpp1843 NewM = NewM->getTopLevelModule(); in IsRedefinitionInModule()
1845 OldM = OldM->getTopLevelModule(); in IsRedefinitionInModule()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1089 M = M->getTopLevelModule(); in isInAnotherModuleUnit()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp3992 M && M->getTopLevelModule()->isNamedModule() && in shouldEmitFunction()
3993 getContext().getCurrentNamedModule() != M->getTopLevelModule() && in shouldEmitFunction()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2730 auto *Top = Mod->getTopLevelModule(); in getLocalOrImportedSubmoduleID()