Home
last modified time | relevance | path

Searched refs:DirectoryEntry (Results 1 – 17 of 17) 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>
280 DirectoryEntry *&getRealDirEntry(const llvm::vfs::Status &Status);
H A DFileEntry.h316 const DirectoryEntry *Dir = nullptr; // Directory file lives in.
340 const DirectoryEntry *getDir() const { return Dir; }
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesManager.h23 class DirectoryEntry; variable
78 llvm::DenseMap<const DirectoryEntry *, ReaderEntry> Readers;
99 bool loadAPINotes(const DirectoryEntry *HeaderDir, FileEntryRef APINotesFile);
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DDirectoryLookup.h89 const DirectoryEntry *getDir() const { in getDir()
99 const DirectoryEntry *getFrameworkDir() const { in getFrameworkDir()
H A DHeaderSearch.h45 class DirectoryEntry; variable
345 llvm::DenseMap<const DirectoryEntry *, ModuleMapDirectoryState>
690 bool hasModuleMap(StringRef Filename, const DirectoryEntry *Root,
796 bool findUsableModuleForHeader(FileEntryRef File, const DirectoryEntry *Root,
814 const DirectoryEntry *Dir, bool IsSystemHeaderDir,
H A DModuleMap.h41 class DirectoryEntry; variable
220 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs;
255 llvm::DenseMap<const DirectoryEntry *, InferredDirectory> InferredDirectories;
614 bool canInferFrameworkModule(const DirectoryEntry *Dir) const { in canInferFrameworkModule()
H A DPreprocessor.h71 class DirectoryEntry; variable
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp83 DirectoryEntry *&FileManager::getRealDirEntry(const llvm::vfs::Status &Status) { in getRealDirEntry()
89 DirectoryEntry *&UDE = UniqueRealDirs[Status.getUniqueID()]; in getRealDirEntry()
94 UDE = new (DirsAlloc.Allocate()) DirectoryEntry(); in getRealDirEntry()
123 auto *UDE = new (DirsAlloc.Allocate()) DirectoryEntry(); in addAncestorsAsVirtualDirs()
128 DirectoryEntry *&UDE = getRealDirEntry(Status); in addAncestorsAsVirtualDirs()
191 DirectoryEntry *&UDE = getRealDirEntry(Status); in getDirectoryRef()
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesManager.cpp126 bool APINotesManager::loadAPINotes(const DirectoryEntry *HeaderDir, in loadAPINotes()
363 llvm::SetVector<const DirectoryEntry *, in findAPINotes()
364 SmallVector<const DirectoryEntry *, 4>, in findAPINotes()
365 llvm::SmallPtrSet<const DirectoryEntry *, 4>> in findAPINotes()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DVirtualFileSystem.cpp1271 RedirectingFileSystem::DirectoryEntry::iterator Current, End;
1300 const Twine &Path, RedirectingFileSystem::DirectoryEntry::iterator Begin, in RedirectingFSDirIterImpl()
1301 RedirectingFileSystem::DirectoryEntry::iterator End, std::error_code &EC) in RedirectingFSDirIterImpl()
1488 auto DE = cast<DirectoryEntry>(Result->E); in dir_begin()
1592 auto *DE = cast<RedirectingFileSystem::DirectoryEntry>(E); in printEntry()
1748 auto *DE = dyn_cast<RedirectingFileSystem::DirectoryEntry>(ParentEntry); in lookupOrCreateEntry()
1752 dyn_cast<RedirectingFileSystem::DirectoryEntry>(Content.get()); in lookupOrCreateEntry()
1760 std::make_unique<RedirectingFileSystem::DirectoryEntry>( in lookupOrCreateEntry()
1771 auto *DE = cast<RedirectingFileSystem::DirectoryEntry>(ParentEntry); in lookupOrCreateEntry()
1783 auto *DE = cast<RedirectingFileSystem::DirectoryEntry>(SrcE); in uniqueOverlayTree()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DInitHeaderSearch.cpp279 llvm::SmallPtrSet<const DirectoryEntry *, 8> SeenDirs; in RemoveDuplicates()
280 llvm::SmallPtrSet<const DirectoryEntry *, 8> SeenFrameworkDirs; in RemoveDuplicates()
H A DHeaderSearch.cpp445 StringRef FileName, SourceLocation IncludeLoc, const DirectoryEntry *Dir, in getFileAndSuggestModule()
1557 const DirectoryEntry *Root, in hasModuleMap()
1671 FileEntryRef File, const DirectoryEntry *Root, Module *RequestingModule, in findUsableModuleForHeader()
H A DPPLexerChange.cpp218 static void computeRelativePath(FileManager &FM, const DirectoryEntry *Dir, in computeRelativePath()
H A DModuleMap.cpp296 const DirectoryEntry *UmbrellaDir = &File->getDir().getDirEntry(); in resolveHeader()
1045 llvm::DenseMap<const DirectoryEntry *, InferredDirectory>::const_iterator in inferFrameworkModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h826 class DirectoryEntry : public Entry {
832 DirectoryEntry(StringRef Name, std::vector<std::unique_ptr<Entry>> Contents, in DirectoryEntry() function
838 DirectoryEntry(StringRef Name, Status S) in DirectoryEntry() function
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc11018DirectoryEntry const*>& llvm::StringMap<clang::DirectoryEntry const*, llvm::MallocAllocator>::GetO…
11493DirectoryEntry*>& llvm::StringMap<clang::DirectoryEntry*, llvm::BumpPtrAllocator>::GetOrCreateValu…
11495DirectoryEntry>, std::_Select1st<std::pair<std::pair<int, unsigned long long> const, clang::Direct…
11496DirectoryEntry>, std::_Select1st<std::pair<std::pair<int, unsigned long long> const, clang::Direct…
11498DirectoryEntry>, std::_Select1st<std::pair<std::pair<int, unsigned long long> const, clang::Direct…