Home
last modified time | relevance | path

Searched refs:RequestingModule (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Lex/
DModuleMap.cpp208 static bool violatesPrivateInclude(Module *RequestingModule, in violatesPrivateInclude() argument
234 RequestedModule->getTopLevelModule() != RequestingModule; in violatesPrivateInclude()
241 void ModuleMap::diagnoseHeaderInclusion(Module *RequestingModule, in diagnoseHeaderInclusion() argument
247 if (getTopLevelOrNull(RequestingModule) != getTopLevelOrNull(SourceModule)) in diagnoseHeaderInclusion()
250 if (RequestingModule) in diagnoseHeaderInclusion()
251 resolveUses(RequestingModule, /*Complain=*/false); in diagnoseHeaderInclusion()
262 Header.getModule()->isSubModuleOf(RequestingModule)) in diagnoseHeaderInclusion()
266 if (violatesPrivateInclude(RequestingModule, File, Header.getRole(), in diagnoseHeaderInclusion()
274 if (RequestingModule && LangOpts.ModulesDeclUse && in diagnoseHeaderInclusion()
275 !RequestingModule->directlyUses(Header.getModule())) { in diagnoseHeaderInclusion()
[all …]
DPPDirectives.cpp1775 Module *RequestingModule = getModuleForLocation(FilenameLoc); in HandleIncludeDirective() local
1777 HeaderInfo.getModuleMap().findModuleForHeader(File, RequestingModule); in HandleIncludeDirective()
/external/clang/include/clang/Lex/
DModuleMap.h280 Module *RequestingModule = nullptr,
292 void diagnoseHeaderInclusion(Module *RequestingModule,
303 const Module *RequestingModule) const;