Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
HDModuleDepCollector.cpp57 MDC.Deps[MDC.ContextHash + Imported->getTopLevelModule()->getFullModuleName()] in InclusionDirective()
59 DirectDeps.insert(Imported->getTopLevelModule()); in InclusionDirective()
80 assert(M == M->getTopLevelModule() && "Expected top level module!"); in handleTopLevelModule()
119 if (Import->getTopLevelModule() != M->getTopLevelModule()) { in addModuleDep()
121 handleTopLevelModule(Import->getTopLevelModule()); in addModuleDep()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDModule.h457 Module *getTopLevelModule() { in getTopLevelModule() function
459 const_cast<const Module *>(this)->getTopLevelModule()); in getTopLevelModule()
464 const Module *getTopLevelModule() const;
468 return getTopLevelModule()->Name; in getTopLevelModuleName()
473 return getTopLevelModule()->ASTFile; in getASTFile()
480 getTopLevelModule()->ASTFile = File; in setASTFile()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
HDModuleMap.h183 (M && M->getTopLevelModule() == getModule()->getTopLevelModule()); in isAccessibleFrom()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
HDModuleMap.cpp465 return M ? M->getTopLevelModule() : nullptr; in getTopLevelOrNull()
521 << RequestingModule->getTopLevelModule()->Name << Filename; in diagnoseHeaderInclusion()
532 << RequestingModule->getTopLevelModule()->Name << Filename; in diagnoseHeaderInclusion()
536 diag::kind DiagID = RequestingModule->getTopLevelModule()->IsFramework ? in diagnoseHeaderInclusion()
578 if (H.getModule()->getTopLevelModule() == SourceModule) in findModuleForHeader()
1200 LangOpts.isCompilingModule() && Mod->getTopLevelModule() == SourceModule; in addHeader()
1881 << ActiveModule->getTopLevelModule()->getFullModuleName(); in parseModuleDecl()
2093 ActiveModule->getTopLevelModule()->markUnavailable(); in parseModuleDecl()
2094 ActiveModule->getTopLevelModule()->MissingHeaders.append( in parseModuleDecl()
HDPPDirectives.cpp135 if (M->getTopLevelModule()->IsFramework && CurrentModule == ModuleName && in isForModuleBuilding()
666 Module *TopM = M->getTopLevelModule(); in getModuleHeaderToIncludeForDiagnostics()
2176 if (M->getTopLevelModule()->ShadowingModule) { in HandleHeaderIncludeOrImport()
2181 Diag(M->getTopLevelModule()->ShadowingModule->DefinitionLoc, in HandleHeaderIncludeOrImport()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
HDModule.cpp175 const Module *Module::getTopLevelModule() const { in getTopLevelModule() function in Module
259 auto *Top = getTopLevelModule(); in directlyUses()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
HDClangModulesDeclVendor.cpp449 clang::Module *top_level_module = module->getTopLevelModule(); in ForEachMacro()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDCompilerInstance.cpp1908 Module == Module->getTopLevelModule()) { in loadModule()
2015 clang::Module *TopModule = Module->getTopLevelModule(); in loadModule()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTWriter.cpp2425 auto *Top = Mod->getTopLevelModule(); in getLocalOrImportedSubmoduleID()