Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp441 bool IsSystemHeaderDir, Module *RequestingModule, in getFileAndSuggestModule() argument
462 *File, Dir ? Dir : File->getFileEntry().getDir(), RequestingModule, in getFileAndSuggestModule()
474 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile() argument
499 RequestingModule, SuggestedModule, OpenFile); in LookupFile()
504 RequestingModule, SuggestedModule, in LookupFile()
528 RequestingModule, SuggestedModule, in LookupFile()
608 static bool needModuleLookup(Module *RequestingModule, in needModuleLookup() argument
611 (RequestingModule && RequestingModule->NoUndeclaredIncludes); in needModuleLookup()
618 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, in DoFrameworkLookup() argument
714 if (File && needModuleLookup(RequestingModule, SuggestedModule)) { in DoFrameworkLookup()
[all …]
H A DModuleMap.cpp471 static bool violatesPrivateInclude(Module *RequestingModule, in violatesPrivateInclude() argument
489 return !Header.isAccessibleFrom(RequestingModule); in violatesPrivateInclude()
496 void ModuleMap::diagnoseHeaderInclusion(Module *RequestingModule, in diagnoseHeaderInclusion() argument
502 if (getTopLevelOrNull(RequestingModule) != getTopLevelOrNull(SourceModule)) in diagnoseHeaderInclusion()
505 if (RequestingModule) { in diagnoseHeaderInclusion()
506 resolveUses(RequestingModule, /*Complain=*/false); in diagnoseHeaderInclusion()
507 resolveHeaderDirectives(RequestingModule, /*File=*/std::nullopt); in diagnoseHeaderInclusion()
524 if (violatesPrivateInclude(RequestingModule, File, Header)) { in diagnoseHeaderInclusion()
531 if (RequestingModule && LangOpts.ModulesDeclUse && in diagnoseHeaderInclusion()
532 !RequestingModule->directlyUses(Header.getModule())) { in diagnoseHeaderInclusion()
[all …]
H A DPPDirectives.cpp962 Module *RequestingModule = getModuleForLocation( in LookupFile() local
1024 Includers, SearchPath, RelativePath, RequestingModule, in LookupFile()
1042 RelativePath, RequestingModule, SuggestedModule, IsMapped, in LookupFile()
1054 Filename, *CurFileEnt, SearchPath, RelativePath, RequestingModule, in LookupFile()
1066 RequestingModule, SuggestedModule)) { in LookupFile()
2107 Module *RequestingModule = getModuleForLocation( in LookupHeaderIncludeOrImport() local
2113 RequestingModule, RequestingModuleIsModuleInterface, FilenameLoc, in LookupHeaderIncludeOrImport()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h304 const Module *RequestingModule = nullptr; member
323 RequestingModule = NewRequestingModule; in reset()
515 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
529 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
799 Module *RequestingModule,
809 FileEntryRef File, StringRef FrameworkName, Module *RequestingModule,
817 Module *RequestingModule,
H A DModuleMap.h484 void diagnoseHeaderInclusion(Module *RequestingModule,
496 const Module *RequestingModule) const;