Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DModuleMap.h115 class KnownHeader {
119 KnownHeader() : Storage(nullptr, NormalHeader) { } in KnownHeader() function
120 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { } in KnownHeader() function
122 friend bool operator==(const KnownHeader &A, const KnownHeader &B) {
125 friend bool operator!=(const KnownHeader &A, const KnownHeader &B) {
156 typedef llvm::DenseMap<const FileEntry *, SmallVector<KnownHeader, 1> >
262 KnownHeader findHeaderInUmbrellaDirs(const FileEntry *File,
267 KnownHeader findOrCreateModuleForHeaderInUmbrellaDir(const FileEntry *File);
320 KnownHeader findModuleForHeader(const FileEntry *File);
328 ArrayRef<KnownHeader> findAllModulesForHeader(const FileEntry *File) const;
DHeaderSearch.h383 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
395 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
523 ModuleMap::KnownHeader findModuleForHeader(const FileEntry *File) const;
568 ModuleMap::KnownHeader *SuggestedModule,
578 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemFramework);
586 ModuleMap::KnownHeader *SuggestedModule);
DDirectoryLookup.h182 ModuleMap::KnownHeader *SuggestedModule,
193 ModuleMap::KnownHeader *SuggestedModule,
DPreprocessor.h1652 ModuleMap::KnownHeader *SuggestedModule,
/external/llvm-project/clang/include/clang/Lex/
DModuleMap.h155 class KnownHeader {
159 KnownHeader() : Storage(nullptr, NormalHeader) {} in KnownHeader() function
160 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() function
162 friend bool operator==(const KnownHeader &A, const KnownHeader &B) {
165 friend bool operator!=(const KnownHeader &A, const KnownHeader &B) {
199 llvm::DenseMap<const FileEntry *, SmallVector<KnownHeader, 1>>;
363 KnownHeader findHeaderInUmbrellaDirs(const FileEntry *File,
368 KnownHeader findOrCreateModuleForHeaderInUmbrellaDir(const FileEntry *File);
436 KnownHeader findModuleForHeader(const FileEntry *File,
446 ArrayRef<KnownHeader> findAllModulesForHeader(const FileEntry *File);
[all …]
DHeaderSearch.h406 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
419 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
584 ModuleMap::KnownHeader findModuleForHeader(const FileEntry *File,
590 ArrayRef<ModuleMap::KnownHeader>
677 ModuleMap::KnownHeader *SuggestedModule,
687 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemFramework);
695 ModuleMap::KnownHeader *SuggestedModule);
DDirectoryLookup.h183 ModuleMap::KnownHeader *SuggestedModule,
191 ModuleMap::KnownHeader *SuggestedModule,
DPreprocessor.h2012 ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped,
2265 ModuleMap::KnownHeader &SuggestedModule, bool isAngled);
/external/clang/lib/Lex/
DModuleMap.cpp175 ModuleMap::KnownHeader
179 return KnownHeader(); in findHeaderInUmbrellaDirs()
195 return KnownHeader(KnownDir->second, NormalHeader); in findHeaderInUmbrellaDirs()
207 return KnownHeader(); in findHeaderInUmbrellaDirs()
212 ModuleMap::KnownHeader Header) { in violatesPrivateInclude()
256 for (const KnownHeader &Header : Known->second) { in diagnoseHeaderInclusion()
308 static bool isBetterKnownHeader(const ModuleMap::KnownHeader &New, in isBetterKnownHeader()
309 const ModuleMap::KnownHeader &Old) { in isBetterKnownHeader()
328 ModuleMap::KnownHeader ModuleMap::findModuleForHeader(const FileEntry *File) { in findModuleForHeader()
329 auto MakeResult = [&](ModuleMap::KnownHeader R) -> ModuleMap::KnownHeader { in findModuleForHeader()
[all …]
DHeaderSearch.cpp255 ModuleMap::KnownHeader *SuggestedModule) { in getFileAndSuggestModule()
280 ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
404 ModuleMap::KnownHeader *SuggestedModule, in DoFrameworkLookup()
571 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
574 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
597 ModuleMap::KnownHeader MSSuggestedModule; in LookupFile()
671 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
824 ModuleMap::KnownHeader *SuggestedModule) { in LookupSubframeworkHeader()
1141 ModuleMap::KnownHeader
1153 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemHeaderDir) { in findUsableModuleForHeader()
[all …]
DPPDirectives.cpp747 ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
1777 ModuleMap::KnownHeader SuggestedModule; in HandleIncludeDirective()
1908 SuggestedModule = ModuleMap::KnownHeader(); in HandleIncludeDirective()
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp348 ModuleMap::KnownHeader *SuggestedModule) { in getFileAndSuggestModule()
379 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
516 ModuleMap::KnownHeader *SuggestedModule, in DoFrameworkLookup()
759 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
769 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
792 ModuleMap::KnownHeader MSSuggestedModule; in LookupFile()
871 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
1047 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) { in LookupSubframeworkHeader()
1411 ModuleMap::KnownHeader
1422 ArrayRef<ModuleMap::KnownHeader>
[all …]
DModuleMap.cpp407 ModuleMap::KnownHeader
427 return KnownHeader(KnownDir->second, NormalHeader); in findHeaderInUmbrellaDirs()
447 ModuleMap::KnownHeader Header) { in violatesPrivateInclude()
493 for (const KnownHeader &Header : Known->second) { in diagnoseHeaderInclusion()
548 static bool isBetterKnownHeader(const ModuleMap::KnownHeader &New, in isBetterKnownHeader()
549 const ModuleMap::KnownHeader &Old) { in isBetterKnownHeader()
571 ModuleMap::KnownHeader ModuleMap::findModuleForHeader(const FileEntry *File, in findModuleForHeader()
573 auto MakeResult = [&](ModuleMap::KnownHeader R) -> ModuleMap::KnownHeader { in findModuleForHeader()
581 ModuleMap::KnownHeader Result; in findModuleForHeader()
583 for (KnownHeader &H : Known->second) { in findModuleForHeader()
[all …]
DPPDirectives.cpp726 ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped, in LookupFile()
1731 ModuleMap::KnownHeader &SuggestedModule, bool isAngled) { in LookupHeaderIncludeOrImport()
1910 ModuleMap::KnownHeader SuggestedModule; in HandleHeaderIncludeOrImport()
2005 SuggestedModule = ModuleMap::KnownHeader(); in HandleHeaderIncludeOrImport()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp1643 ArrayRef<ModuleMap::KnownHeader> KnownHeaders;
/external/clang/tools/libclang/
DCIndex.cpp7357 ModuleMap::KnownHeader Header = HS.findModuleForHeader(FE); in clang_getModuleForFile()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp8394 ModuleMap::KnownHeader Header = HS.findModuleForHeader(FE); in clang_getModuleForFile()