Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h159 class KnownHeader {
163 KnownHeader() : Storage(nullptr, NormalHeader) {} in KnownHeader() function
164 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) {} in KnownHeader() function
166 friend bool operator==(const KnownHeader &A, const KnownHeader &B) {
169 friend bool operator!=(const KnownHeader &A, const KnownHeader &B) {
202 using HeadersMap = llvm::DenseMap<FileEntryRef, SmallVector<KnownHeader, 1>>;
371 KnownHeader findHeaderInUmbrellaDirs(
376 KnownHeader findOrCreateModuleForHeaderInUmbrellaDir(FileEntryRef File);
442 KnownHeader findModuleForHeader(FileEntryRef File, bool AllowTextual = false,
452 ArrayRef<KnownHeader> findAllModulesForHeader(FileEntryRef File);
[all …]
H A DHeaderSearch.h515 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule,
529 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule);
700 ModuleMap::KnownHeader findModuleForHeader(FileEntryRef File,
707 ArrayRef<ModuleMap::KnownHeader>
712 ArrayRef<ModuleMap::KnownHeader>
800 ModuleMap::KnownHeader *SuggestedModule,
810 ModuleMap::KnownHeader *SuggestedModule, bool IsSystemFramework);
818 ModuleMap::KnownHeader *SuggestedModule,
H A DPreprocessor.h2439 ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped,
2742 ModuleMap::KnownHeader &SuggestedModule, bool isAngled);
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp442 ModuleMap::KnownHeader *SuggestedModule, bool OpenFile /*=true*/, in getFileAndSuggestModule()
474 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
619 ModuleMap::KnownHeader *SuggestedModule, in DoFrameworkLookup()
890 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule, in LookupFile()
903 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
927 ModuleMap::KnownHeader MSSuggestedModule; in LookupFile()
1009 *SuggestedModule = ModuleMap::KnownHeader(); in LookupFile()
1212 Module *RequestingModule, ModuleMap::KnownHeader *SuggestedModule) { in LookupSubframeworkHeader()
1659 ModuleMap::KnownHeader
1670 ArrayRef<ModuleMap::KnownHeader>
[all …]
H A DModuleMap.cpp438 ModuleMap::KnownHeader ModuleMap::findHeaderInUmbrellaDirs( in findHeaderInUmbrellaDirs()
456 return KnownHeader(KnownDir->second, NormalHeader); in findHeaderInUmbrellaDirs()
473 ModuleMap::KnownHeader Header) { in violatesPrivateInclude()
516 for (const KnownHeader &Header : Known->second) { in diagnoseHeaderInclusion()
578 static bool isBetterKnownHeader(const ModuleMap::KnownHeader &New, in isBetterKnownHeader()
579 const ModuleMap::KnownHeader &Old) { in isBetterKnownHeader()
606 ModuleMap::KnownHeader ModuleMap::findModuleForHeader(FileEntryRef File, in findModuleForHeader()
609 auto MakeResult = [&](ModuleMap::KnownHeader R) -> ModuleMap::KnownHeader { in findModuleForHeader()
617 ModuleMap::KnownHeader Result; in findModuleForHeader()
619 for (KnownHeader &H : Known->second) { in findModuleForHeader()
[all …]
H A DPPDirectives.cpp957 ModuleMap::KnownHeader *SuggestedModule, bool *IsMapped, in LookupFile()
2102 ModuleMap::KnownHeader &SuggestedModule, bool isAngled) { in LookupHeaderIncludeOrImport()
2279 ModuleMap::KnownHeader SuggestedModule; in HandleHeaderIncludeOrImport()
H A DPPMacroExpansion.cpp1265 ModuleMap::KnownHeader KH; in EvaluateHasIncludeCommon()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1973 ArrayRef<ModuleMap::KnownHeader> KnownHeaders, in data_type()
1980 SmallVector<ModuleMap::KnownHeader, 1> KnownHeaders;