Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp347 bool IsSystemHeaderDir, Module *RequestingModule, in getFileAndSuggestModule() argument
368 RequestingModule, SuggestedModule, IsSystemHeaderDir)) in getFileAndSuggestModule()
379 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile() argument
403 RequestingModule, SuggestedModule); in LookupFile()
408 RequestingModule, SuggestedModule, in LookupFile()
505 static bool needModuleLookup(Module *RequestingModule, in needModuleLookup() argument
508 (RequestingModule && RequestingModule->NoUndeclaredIncludes); in needModuleLookup()
515 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, in DoFrameworkLookup() argument
611 if (File && needModuleLookup(RequestingModule, SuggestedModule)) { in DoFrameworkLookup()
637 &File->getFileEntry(), FrameworkPath, RequestingModule, in DoFrameworkLookup()
[all …]
DModuleMap.cpp445 static bool violatesPrivateInclude(Module *RequestingModule, in violatesPrivateInclude() argument
465 return !Header.isAccessibleFrom(RequestingModule); in violatesPrivateInclude()
472 void ModuleMap::diagnoseHeaderInclusion(Module *RequestingModule, in diagnoseHeaderInclusion() argument
479 if (getTopLevelOrNull(RequestingModule) != getTopLevelOrNull(SourceModule)) in diagnoseHeaderInclusion()
482 if (RequestingModule) { in diagnoseHeaderInclusion()
483 resolveUses(RequestingModule, /*Complain=*/false); in diagnoseHeaderInclusion()
484 resolveHeaderDirectives(RequestingModule); in diagnoseHeaderInclusion()
495 if (violatesPrivateInclude(RequestingModule, File, Header)) { in diagnoseHeaderInclusion()
502 if (RequestingModule && LangOpts.ModulesDeclUse && in diagnoseHeaderInclusion()
503 !RequestingModule->directlyUses(Header.getModule())) { in diagnoseHeaderInclusion()
[all …]
DPPDirectives.cpp728 Module *RequestingModule = getModuleForLocation(FilenameLoc); in LookupFile() local
784 Includers, SearchPath, RelativePath, RequestingModule, in LookupFile()
802 RelativePath, RequestingModule, SuggestedModule, IsMapped, in LookupFile()
807 RequestingModule, RequestingModuleIsModuleInterface, FilenameLoc, in LookupFile()
819 Filename, CurFileEnt, SearchPath, RelativePath, RequestingModule, in LookupFile()
823 RequestingModule, RequestingModuleIsModuleInterface, FilenameLoc, in LookupFile()
835 RequestingModule, SuggestedModule)) { in LookupFile()
838 RequestingModule, RequestingModuleIsModuleInterface, in LookupFile()
/external/clang/lib/Lex/
DHeaderSearch.cpp254 bool IsSystemHeaderDir, Module *RequestingModule, in getFileAndSuggestModule() argument
264 RequestingModule, SuggestedModule, in getFileAndSuggestModule()
279 Module *RequestingModule, in LookupFile() argument
304 RequestingModule, SuggestedModule); in LookupFile()
309 RequestingModule, SuggestedModule, in LookupFile()
403 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, in DoFrameworkLookup() argument
520 FE, FrameworkPath, RequestingModule, SuggestedModule, IsSystem)) in DoFrameworkLookup()
523 if (!HS.findUsableModuleForHeader(FE, getDir(), RequestingModule, in DoFrameworkLookup()
571 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile() argument
592 RequestingModule, SuggestedModule); in LookupFile()
[all …]
DModuleMap.cpp210 static bool violatesPrivateInclude(Module *RequestingModule, in violatesPrivateInclude() argument
230 return !Header.isAccessibleFrom(RequestingModule); in violatesPrivateInclude()
237 void ModuleMap::diagnoseHeaderInclusion(Module *RequestingModule, in diagnoseHeaderInclusion() argument
244 if (getTopLevelOrNull(RequestingModule) != getTopLevelOrNull(SourceModule)) in diagnoseHeaderInclusion()
247 if (RequestingModule) in diagnoseHeaderInclusion()
248 resolveUses(RequestingModule, /*Complain=*/false); in diagnoseHeaderInclusion()
258 if (violatesPrivateInclude(RequestingModule, File, Header)) { in diagnoseHeaderInclusion()
265 if (RequestingModule && LangOpts.ModulesDeclUse && in diagnoseHeaderInclusion()
266 !RequestingModule->directlyUses(Header.getModule())) { in diagnoseHeaderInclusion()
288 << RequestingModule->getFullModuleName() << Filename; in diagnoseHeaderInclusion()
[all …]
DPPDirectives.cpp749 Module *RequestingModule = getModuleForLocation(FilenameLoc); in LookupFile() local
806 Includers, SearchPath, RelativePath, RequestingModule, in LookupFile()
823 RelativePath, RequestingModule, SuggestedModule, SkipCache, in LookupFile()
828 RequestingModule, RequestingModuleIsModuleInterface, FilenameLoc, in LookupFile()
841 RequestingModule, in LookupFile()
845 RequestingModule, RequestingModuleIsModuleInterface, FilenameLoc, in LookupFile()
858 RequestingModule, SuggestedModule))) { in LookupFile()
861 RequestingModule, RequestingModuleIsModuleInterface, in LookupFile()
/external/clang/include/clang/Lex/
DHeaderSearch.h383 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
395 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
567 Module *RequestingModule,
577 const FileEntry *File, StringRef FrameworkDir, Module *RequestingModule,
585 Module *RequestingModule,
DDirectoryLookup.h181 Module *RequestingModule,
192 Module *RequestingModule,
DModuleMap.h344 void diagnoseHeaderInclusion(Module *RequestingModule,
356 const Module *RequestingModule) const;
/external/llvm-project/clang/include/clang/Lex/
DHeaderSearch.h406 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
419 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
676 Module *RequestingModule,
686 const FileEntry *File, StringRef FrameworkName, Module *RequestingModule,
694 Module *RequestingModule,
DDirectoryLookup.h182 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
190 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
DModuleMap.h476 void diagnoseHeaderInclusion(Module *RequestingModule,
488 const Module *RequestingModule) const;