Home
last modified time | relevance | path

Searched refs:KnownHeader (Results 1 – 8 of 8) sorted by relevance

/external/clang/include/clang/Lex/
DModuleMap.h108 class KnownHeader {
112 KnownHeader() : Storage(nullptr, NormalHeader) { } in KnownHeader() function
113 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { } in KnownHeader() function
115 friend bool operator==(const KnownHeader &A, const KnownHeader &B) {
118 friend bool operator!=(const KnownHeader &A, const KnownHeader &B) {
143 typedef llvm::DenseMap<const FileEntry *, SmallVector<KnownHeader, 1> >
249 KnownHeader findHeaderInUmbrellaDirs(const FileEntry *File,
254 KnownHeader findOrCreateModuleForHeaderInUmbrellaDir(const FileEntry *File);
307 KnownHeader findModuleForHeader(const FileEntry *File);
315 ArrayRef<KnownHeader> findAllModulesForHeader(const FileEntry *File) const;
DHeaderSearch.h385 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
397 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
525 ModuleMap::KnownHeader findModuleForHeader(const FileEntry *File) const;
570 ModuleMap::KnownHeader *SuggestedModule,
580 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemFramework);
587 ModuleMap::KnownHeader *SuggestedModule);
DDirectoryLookup.h178 ModuleMap::KnownHeader *SuggestedModule,
189 ModuleMap::KnownHeader *SuggestedModule,
DPreprocessor.h1624 ModuleMap::KnownHeader *SuggestedModule,
/external/clang/lib/Lex/
DModuleMap.cpp177 ModuleMap::KnownHeader
181 return KnownHeader(); in findHeaderInUmbrellaDirs()
197 return KnownHeader(KnownDir->second, NormalHeader); in findHeaderInUmbrellaDirs()
209 return KnownHeader(); in findHeaderInUmbrellaDirs()
261 for (const KnownHeader &Header : Known->second) { in diagnoseHeaderInclusion()
314 static bool isBetterKnownHeader(const ModuleMap::KnownHeader &New, in isBetterKnownHeader()
315 const ModuleMap::KnownHeader &Old) { in isBetterKnownHeader()
334 ModuleMap::KnownHeader ModuleMap::findModuleForHeader(const FileEntry *File) { in findModuleForHeader()
335 auto MakeResult = [&](ModuleMap::KnownHeader R) -> ModuleMap::KnownHeader { in findModuleForHeader()
337 return ModuleMap::KnownHeader(); in findModuleForHeader()
[all …]
DHeaderSearch.cpp255 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) { in getFileAndSuggestModule()
279 ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
403 ModuleMap::KnownHeader *SuggestedModule, in DoFrameworkLookup()
570 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
573 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
596 ModuleMap::KnownHeader MSSuggestedModule; in LookupFile()
669 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
822 ModuleMap::KnownHeader *SuggestedModule) { in LookupSubframeworkHeader()
1139 ModuleMap::KnownHeader
1151 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemHeaderDir) { in findUsableModuleForHeader()
[all …]
DPPDirectives.cpp612 ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
1603 ModuleMap::KnownHeader SuggestedModule; in HandleIncludeDirective()
1732 SuggestedModule = ModuleMap::KnownHeader(); in HandleIncludeDirective()
/external/clang/tools/libclang/
DCIndex.cpp6985 ModuleMap::KnownHeader Header = HS.findModuleForHeader(FE); in clang_getModuleForFile()