Searched refs:HeaderMap (Results 1 – 14 of 14) sorted by relevance
/llvm-project/clang/include/clang/Lex/ |
H A D | DirectoryLookup.h | 22 class HeaderMap; variable 43 /// Map - This is the HeaderMap if this is a headermap lookup. 45 const HeaderMap *Map; 48 DLU(const HeaderMap *Map) : Map(Map) {} in DLU() 75 DirectoryLookup(const HeaderMap *Map, SrcMgr::CharacteristicKind DT) in DirectoryLookup() 80 /// normal directory, a framework path, or a HeaderMap. in DirectoryLookup() 109 const HeaderMap *getHeaderMap() const { in getFrameworkDirRef()
|
H A D | HeaderMap.h | 84 class HeaderMap : private HeaderMapImpl { 85 HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File, bool BSwap) in HeaderMap() function 91 static std::unique_ptr<HeaderMap> Create(FileEntryRef FE, FileManager &FM);
|
H A D | HeaderSearch.h | 20 #include "clang/Lex/HeaderMap.h" 263 /// Maps HeaderMap keys to SearchDir indices. When HeaderMaps are used 329 /// This is a mapping from FileEntry -> HeaderMap, uniquing headermaps. 330 std::vector<std::pair<FileEntryRef, std::unique_ptr<HeaderMap>>> HeaderMaps; 595 /// This method returns a HeaderMap for the specified 597 const HeaderMap *CreateHeaderMap(FileEntryRef FE);
|
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | CanonicalIncludes.cpp | 715 auto *HeaderMap = new llvm::StringMap<llvm::StringRef>(Size); in addSystemHeadersMapping() local 717 auto Result = HeaderMap->insert(IncludeMappings[I]); in addSystemHeadersMapping() 722 return HeaderMap; in addSystemHeadersMapping()
|
/llvm-project/clang-tools-extra/clang-include-fixer/find-all-symbols/ |
H A D | HeaderMapCollector.h | 24 typedef llvm::StringMap<std::string> HeaderMap; typedef 44 HeaderMap HeaderMappingTable;
|
/llvm-project/clang/lib/Lex/ |
H A D | HeaderMap.cpp | 1 //===--- HeaderMap.cpp - A file that acts like dir of symlinks ------------===// 9 // This file implements the HeaderMap interface. 13 #include "clang/Lex/HeaderMap.h" 45 /// HeaderMap::Create - This attempts to load the specified file as a header 46 /// map. If it doesn't look like a HeaderMap, it gives up and returns null. 47 /// If it looks like a HeaderMap but is obviously corrupted, it puts a reason 49 std::unique_ptr<HeaderMap> HeaderMap::Create(FileEntryRef FE, FileManager &FM) { 63 return std::unique_ptr<HeaderMap>(new HeaderMap(st in Create() [all...] |
H A D | CMakeLists.txt | 10 HeaderMap.cpp
|
H A D | InitHeaderSearch.cpp | 16 #include "clang/Lex/HeaderMap.h" 168 if (const HeaderMap *HM = Headers.CreateHeaderMap(*FE)) { in AddUnmappedPath() 373 llvm::SmallPtrSet<const HeaderMap *, 8> SeenHeaderMaps; in RemoveDuplicates()
|
H A D | HeaderSearch.cpp | 21 #include "clang/Lex/HeaderMap.h" 167 /// CreateHeaderMap - This method returns a HeaderMap for the specified 169 const HeaderMap *HeaderSearch::CreateHeaderMap(FileEntryRef FE) { 180 if (std::unique_ptr<HeaderMap> HM = HeaderMap::Create(FE, FileMgr)) { in CreateHeaderMap() 508 const HeaderMap *HM = getHeaderMap(); in LookupFile()
|
/llvm-project/clang/include/clang/InstallAPI/ |
H A D | Context.h | 76 using HeaderMap = llvm::DenseMap<const FileEntry *, HeaderType>; 80 HeaderMap KnownFiles;
|
/llvm-project/clang/utils/hmaptool/ |
H A D | hmaptool | 25 class HeaderMap(object): class 91 return HeaderMap(num_entries, buckets, strtable) 130 hmap = HeaderMap.frompath(path) 247 hmap = HeaderMap.frompath(input_path)
|
/llvm-project/llvm/utils/gn/secondary/clang/lib/Lex/ |
H A D | BUILD.gn | 11 "HeaderMap.cpp",
|
/llvm-project/clang/unittests/Lex/ |
H A D | HeaderSearchTest.cpp | 77 HMap = HeaderMap::Create(*FE, FileMgr); in addHeaderMap() 92 std::unique_ptr<HeaderMap> HMap;
|
/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 131 if (auto HMap = HeaderMap::Create(*EntryFile, CI.getFileManager())) { in getRelativeIncludeName()
|