Lines Matching refs:InMemoryNode
553 class InMemoryNode { class
558 InMemoryNode(llvm::StringRef FileName, InMemoryNodeKind Kind) in InMemoryNode() function in llvm::vfs::detail::InMemoryNode
561 virtual ~InMemoryNode() = default;
569 class InMemoryFile : public InMemoryNode {
575 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
590 static bool classof(const InMemoryNode *N) { in classof()
597 class InMemoryHardLink : public InMemoryNode {
602 : InMemoryNode(Path, IME_HardLink), ResolvedFile(ResolvedFile) {} in InMemoryHardLink()
610 static bool classof(const InMemoryNode *N) { in classof()
644 class InMemoryDirectory : public InMemoryNode {
646 llvm::StringMap<std::unique_ptr<InMemoryNode>> Entries;
650 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory()
658 InMemoryNode *getChild(StringRef Name) { in getChild()
665 InMemoryNode *addChild(StringRef Name, std::unique_ptr<InMemoryNode> Child) { in addChild()
683 static bool classof(const InMemoryNode *N) { in classof()
689 Status getNodeStatus(const InMemoryNode *Node, const Twine &RequestedName) { in getNodeStatus()
747 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
752 std::unique_ptr<detail::InMemoryNode> Child; in addFile()
826 static ErrorOr<const detail::InMemoryNode *>
845 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupInMemoryNode()