Searched refs:HeaderMap (Results 1 - 8 of 8) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderMap.h1 //===--- HeaderMap.h - A file that acts like dir of symlinks ----*- C++ -*-===//
9 // This file defines the HeaderMap interface.
28 /// Implementation for \a HeaderMap that doesn't depend on \a FileManager.
40 /// If the specified relative filename is located in this HeaderMap return
65 class HeaderMap : private HeaderMapImpl { class in namespace:clang
66 HeaderMap(std::unique_ptr<const llvm::MemoryBuffer> File, bool BSwap) function in class:clang::HeaderMap
71 /// look like a HeaderMap, it gives up and returns null.
72 static std::unique_ptr<HeaderMap> Create(const FileEntry *FE,
76 /// HeaderMap. If so, open it and return its FileEntry. If RawPath is not
H A DDirectoryLookup.h21 class HeaderMap;
44 /// Map - This is the HeaderMap if this is a headermap lookup.
46 const HeaderMap *Map;
49 DLU(const HeaderMap *Map) : Map(Map) {}
76 DirectoryLookup(const HeaderMap *Map, SrcMgr::CharacteristicKind DT,
82 /// normal directory, a framework path, or a HeaderMap.
107 const HeaderMap *getHeaderMap() const {
H A DHeaderSearch.h19 #include "clang/Lex/HeaderMap.h"
228 /// This is a mapping from FileEntry -> HeaderMap, uniquing headermaps.
229 std::vector<std::pair<const FileEntry *, std::unique_ptr<HeaderMap>>> HeaderMaps;
479 /// This method returns a HeaderMap for the specified
481 const HeaderMap *CreateHeaderMap(const FileEntry *FE);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DHeaderMap.cpp1 //===--- HeaderMap.cpp - A file that acts like dir of symlinks ------------===//
9 // This file implements the HeaderMap interface.
13 #include "clang/Lex/HeaderMap.h"
46 /// HeaderMap::Create - This attempts to load the specified file as a header
47 /// map. If it doesn't look like a HeaderMap, it gives up and returns null.
48 /// If it looks like a HeaderMap but is obviously corrupted, it puts a reason
50 std::unique_ptr<HeaderMap> HeaderMap::Create(const FileEntry *FE,
62 return std::unique_ptr<HeaderMap>(new HeaderMap(st
[all...]
H A DHeaderSearch.cpp21 #include "clang/Lex/HeaderMap.h"
111 /// CreateHeaderMap - This method returns a HeaderMap for the specified
113 const HeaderMap *HeaderSearch::CreateHeaderMap(const FileEntry *FE) {
124 if (std::unique_ptr<HeaderMap> HM = HeaderMap::Create(FE, FileMgr)) {
386 const HeaderMap *HM = getHeaderMap();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DInitHeaderSearch.cpp18 #include "clang/Lex/HeaderMap.h"
168 if (const HeaderMap *HM = Headers.CreateHeaderMap(*FE)) {
473 llvm::SmallPtrSet<const HeaderMap *, 8> SeenHeaderMaps;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp473 auto &HeaderMap = SccI.SccHeaders[SccNum]; local
476 std::tie(HeaderMapIt, Inserted) = HeaderMap.insert(std::make_pair(BB, false));
/freebsd-11-stable/lib/clang/libclang/
H A DMakefile409 SRCS_MIN+= Lex/HeaderMap.cpp

Completed in 93 milliseconds