LLVM: lib/Support/VirtualFileSystem.cpp File Reference (original) (raw)
Go to the source code of this file.
| Classes | |
|---|---|
| class | llvm::vfs::detail::InMemoryNode |
| The in memory file system is a tree of Nodes. More... | |
| class | llvm::vfs::detail::InMemoryFile |
| class | llvm::vfs::detail::InMemoryDirectory |
| class | llvm::vfs::InMemoryFileSystem::DirIterator |
| Adaptor from InMemoryDir::iterator to directory_iterator. More... | |
| class | llvm::vfs::RedirectingFSDirIterImpl |
| Directory iterator implementation for RedirectingFileSystem's directory entries. More... | |
| class | llvm::vfs::RedirectingFileSystemParser |
| A helper class to hold the common YAML parsing state. More... | |
| class | file_status |
| Represents the result of a call to sys::fs::status(). More... | |
| class | UniqueID |
| Functions | |
|---|---|
| static bool | isTraversalComponent (StringRef Component) |
| static bool | pathHasTraversal (StringRef Path) |
| static sys::fs::UniqueID | llvm::vfs::getUniqueID (hash_code Hash) |
| static sys::fs::UniqueID | llvm::vfs::getFileID (sys::fs::UniqueID Parent, llvm::StringRef Name, llvm::StringRef Contents) |
| static sys::fs::UniqueID | llvm::vfs::getDirectoryID (sys::fs::UniqueID Parent, llvm::StringRef Name) |
| static Status | getRedirectedFileStatus (const Twine &OriginalPath, bool UseExternalNames, Status ExternalStatus) |
| static void | getVFSEntries (RedirectingFileSystem::Entry *SrcE, SmallVectorImpl< StringRef > &Path, SmallVectorImpl< YAMLVFSEntry > &Entries) |
◆ file_t
◆ file_type
An enumeration for the file system's view of the type.
Definition at line 62 of file FileSystem.h.
◆ perms
◆ getRedirectedFileStatus()
◆ getVFSEntries()
Definition at line 2679 of file VirtualFileSystem.cpp.
References llvm::sys::path::append(), assert(), llvm::SmallString< InternalLen >::c_str(), llvm::dyn_cast(), llvm::vfs::RedirectingFileSystem::EK_Directory, llvm::vfs::RedirectingFileSystem::EK_DirectoryRemap, llvm::vfs::RedirectingFileSystem::EK_File, llvm::vfs::RedirectingFileSystem::Entry::getKind(), getVFSEntries(), llvm::make_range(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
Referenced by llvm::vfs::collectVFSEntries(), and getVFSEntries().