Home
last modified time | relevance | path

Searched refs:DirectoryEntry (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h38 class DirectoryEntry {
39 DirectoryEntry() = default;
40 DirectoryEntry(const DirectoryEntry &) = delete;
41 DirectoryEntry &operator=(const DirectoryEntry &) = delete;
50 const DirectoryEntry &getDirEntry() const { return *ME->getValue(); } in getDirEntry()
60 using MapEntry = llvm::StringMapEntry<llvm::ErrorOr<DirectoryEntry &>>;
87 operator const DirectoryEntry *() const { return &getDirEntry(); }
H A DFileManager.h57 llvm::SpecificBumpPtrAllocator<DirectoryEntry> DirsAlloc;
60 llvm::DenseMap<llvm::sys::fs::UniqueID, DirectoryEntry *> UniqueRealDirs;
69 SmallVector<DirectoryEntry *, 4> VirtualDirectoryEntries;
86 llvm::StringMap<llvm::ErrorOr<DirectoryEntry &>, llvm::BumpPtrAllocator>
193 llvm::ErrorOr<const DirectoryEntry *>
305 DirectoryEntry *&getRealDirEntry(const llvm::vfs::Status &Status);
H A DFileEntry.h310 const DirectoryEntry *Dir = nullptr; // Directory file lives in.
331 const DirectoryEntry *getDir() const { return Dir; }
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesManager.h23 class DirectoryEntry; variable
71 llvm::DenseMap<const DirectoryEntry *, ReaderEntry> Readers;
92 bool loadAPINotes(const DirectoryEntry *HeaderDir, FileEntryRef APINotesFile);
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h45 class DirectoryEntry; variable
348 llvm::DenseMap<const DirectoryEntry *, bool> DirectoryHasModuleMap;
449 void setDirectoryHasModuleMap(const DirectoryEntry* Dir) { in setDirectoryHasModuleMap()
693 bool hasModuleMap(StringRef Filename, const DirectoryEntry *Root,
798 bool findUsableModuleForHeader(FileEntryRef File, const DirectoryEntry *Root,
816 const DirectoryEntry *Dir, bool IsSystemHeaderDir,
H A DModuleMap.h40 class DirectoryEntry; variable
221 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs;
278 llvm::DenseMap<const DirectoryEntry *, InferredDirectory> InferredDirectories;
610 bool canInferFrameworkModule(const DirectoryEntry *Dir) const { in canInferFrameworkModule()
H A DPreprocessor.h70 class DirectoryEntry; variable
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp85 DirectoryEntry *&FileManager::getRealDirEntry(const llvm::vfs::Status &Status) { in getRealDirEntry()
91 DirectoryEntry *&UDE = UniqueRealDirs[Status.getUniqueID()]; in getRealDirEntry()
96 UDE = new (DirsAlloc.Allocate()) DirectoryEntry(); in getRealDirEntry()
125 auto *UDE = new (DirsAlloc.Allocate()) DirectoryEntry(); in addAncestorsAsVirtualDirs()
130 DirectoryEntry *&UDE = getRealDirEntry(Status); in addAncestorsAsVirtualDirs()
193 DirectoryEntry *&UDE = getRealDirEntry(Status); in getDirectoryRef()
199 llvm::ErrorOr<const DirectoryEntry *>
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp127 bool APINotesManager::loadAPINotes(const DirectoryEntry *HeaderDir, in loadAPINotes()
364 llvm::SetVector<const DirectoryEntry *, in findAPINotes()
365 SmallVector<const DirectoryEntry *, 4>, in findAPINotes()
366 llvm::SmallPtrSet<const DirectoryEntry *, 4>> in findAPINotes()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp1259 RedirectingFileSystem::DirectoryEntry::iterator Current, End;
1288 const Twine &Path, RedirectingFileSystem::DirectoryEntry::iterator Begin, in RedirectingFSDirIterImpl()
1289 RedirectingFileSystem::DirectoryEntry::iterator End, std::error_code &EC) in RedirectingFSDirIterImpl()
1476 auto DE = cast<DirectoryEntry>(Result->E); in dir_begin()
1580 auto *DE = cast<RedirectingFileSystem::DirectoryEntry>(E); in printEntry()
1735 auto *DE = dyn_cast<RedirectingFileSystem::DirectoryEntry>(ParentEntry); in lookupOrCreateEntry()
1739 dyn_cast<RedirectingFileSystem::DirectoryEntry>(Content.get()); in lookupOrCreateEntry()
1747 std::make_unique<RedirectingFileSystem::DirectoryEntry>( in lookupOrCreateEntry()
1758 auto *DE = cast<RedirectingFileSystem::DirectoryEntry>(ParentEntry); in lookupOrCreateEntry()
1770 auto *DE = cast<RedirectingFileSystem::DirectoryEntry>(SrcE); in uniqueOverlayTree()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h808 class DirectoryEntry : public Entry {
814 DirectoryEntry(StringRef Name, std::vector<std::unique_ptr<Entry>> Contents, in DirectoryEntry() function
820 DirectoryEntry(StringRef Name, Status S) in DirectoryEntry() function
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp440 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, in getFileAndSuggestModule()
1613 const DirectoryEntry *Root, in hasModuleMap()
1618 SmallVector<const DirectoryEntry *, 2> FixUpDirectories; in hasModuleMap()
1726 FileEntryRef File, const DirectoryEntry *Root, Module *RequestingModule, in findUsableModuleForHeader()
H A DPPLexerChange.cpp225 static void computeRelativePath(FileManager &FM, const DirectoryEntry *Dir, in computeRelativePath()
H A DModuleMap.cpp302 const DirectoryEntry *UmbrellaDir = &File->getDir().getDirEntry(); in resolveHeader()
1033 llvm::DenseMap<const DirectoryEntry *, InferredDirectory>::const_iterator in inferFrameworkModule()