LLVM
8.0.1
|
The in memory file system is a tree of Nodes. More...
Public Member Functions | |
InMemoryNode (llvm::StringRef FileName, InMemoryNodeKind Kind) | |
virtual | ~InMemoryNode ()=default |
StringRef | getFileName () const |
Get the filename of this node (the name without the directory part). More... | |
InMemoryNodeKind | getKind () const |
virtual std::string | toString (unsigned Indent) const =0 |
The in memory file system is a tree of Nodes.
Every node can either be a file , hardlink or a directory.
Definition at line 487 of file VirtualFileSystem.cpp.
|
inline |
Definition at line 492 of file VirtualFileSystem.cpp.
|
virtualdefault |
|
inline |
Get the filename of this node (the name without the directory part).
Definition at line 497 of file VirtualFileSystem.cpp.
|
inline |
Definition at line 498 of file VirtualFileSystem.cpp.
References Indent, Kind, and llvm::toString().
Referenced by llvm::vfs::detail::InMemoryFile::classof(), and llvm::vfs::detail::InMemoryDirectory::classof().
|
pure virtual |
Implemented in llvm::vfs::detail::InMemoryDirectory, and llvm::vfs::detail::InMemoryFile.