LLVM
8.0.1
|
Public Types | |
using | const_iterator = decltype(Entries)::const_iterator |
Public Member Functions | |
InMemoryDirectory (Status Stat) | |
Status | getStatus (StringRef RequestedName) const |
Return the Status for this node. More... | |
InMemoryNode * | getChild (StringRef Name) |
InMemoryNode * | addChild (StringRef Name, std::unique_ptr< InMemoryNode > Child) |
const_iterator | begin () const |
const_iterator | end () const |
std::string | toString (unsigned Indent) const override |
Public Member Functions inherited from llvm::vfs::detail::InMemoryNode | |
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 |
Static Public Member Functions | |
static bool | classof (const InMemoryNode *N) |
Definition at line 577 of file VirtualFileSystem.cpp.
using llvm::vfs::detail::InMemoryDirectory::const_iterator = decltype(Entries)::const_iterator |
Definition at line 603 of file VirtualFileSystem.cpp.
|
inline |
Definition at line 582 of file VirtualFileSystem.cpp.
|
inline |
Definition at line 598 of file VirtualFileSystem.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::insert().
|
inline |
Definition at line 605 of file VirtualFileSystem.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::begin().
|
inlinestatic |
Definition at line 616 of file VirtualFileSystem.cpp.
References llvm::vfs::detail::InMemoryNode::getKind(), and llvm::vfs::detail::IME_Directory.
|
inline |
Definition at line 606 of file VirtualFileSystem.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::end().
|
inline |
Definition at line 591 of file VirtualFileSystem.cpp.
References llvm::StringMap< ValueTy, AllocatorTy >::end(), llvm::StringMap< ValueTy, AllocatorTy >::find(), and I.
Return the Status
for this node.
RequestedName
should be the name through which the caller referred to this node. It will override Status::Name
in the return value, to mimic the behavior of RealFile
.
Definition at line 588 of file VirtualFileSystem.cpp.
|
inlineoverridevirtual |
Implements llvm::vfs::detail::InMemoryNode.
Definition at line 608 of file VirtualFileSystem.cpp.
References llvm::vfs::Status::getName().