Lines Matching refs:RequestingModule

208 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()
297 << RequestingModule->getFullModuleName() << Filename; in diagnoseHeaderInclusion()
308 << RequestingModule->getFullModuleName() << Filename; in diagnoseHeaderInclusion()
309 } else if (RequestingModule) { in diagnoseHeaderInclusion()
310 diag::kind DiagID = RequestingModule->getTopLevelModule()->IsFramework ? in diagnoseHeaderInclusion()
313 Diags.Report(FilenameLoc, DiagID) << RequestingModule->getFullModuleName(); in diagnoseHeaderInclusion()
335 Module *RequestingModule, in findModuleForHeader() argument
358 if (I->getModule() == RequestingModule) in findModuleForHeader()
363 if (RequestingModule && LangOpts.ModulesDeclUse && in findModuleForHeader()
364 !RequestingModule->directlyUses(I->getModule())) in findModuleForHeader()
452 const Module *RequestingModule) const { in isHeaderUnavailableInModule()
459 if (I->isAvailable() && (!RequestingModule || in isHeaderUnavailableInModule()
460 I->getModule()->isSubModuleOf(RequestingModule))) in isHeaderUnavailableInModule()
471 return !M->isAvailable() && (!RequestingModule || in isHeaderUnavailableInModule()
472 M->isSubModuleOf(RequestingModule)); in isHeaderUnavailableInModule()