Lines Matching refs:InMemoryNode
532 class InMemoryNode { class
537 InMemoryNode(llvm::StringRef FileName, InMemoryNodeKind Kind) in InMemoryNode() function in llvm::vfs::detail::InMemoryNode
540 virtual ~InMemoryNode() = default;
548 class InMemoryFile : public InMemoryNode {
554 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
569 static bool classof(const InMemoryNode *N) { in classof()
576 class InMemoryHardLink : public InMemoryNode {
581 : InMemoryNode(Path, IME_HardLink), ResolvedFile(ResolvedFile) {} in InMemoryHardLink()
589 static bool classof(const InMemoryNode *N) { in classof()
623 class InMemoryDirectory : public InMemoryNode {
625 llvm::StringMap<std::unique_ptr<InMemoryNode>> Entries;
629 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory()
637 InMemoryNode *getChild(StringRef Name) { in getChild()
644 InMemoryNode *addChild(StringRef Name, std::unique_ptr<InMemoryNode> Child) { in addChild()
662 static bool classof(const InMemoryNode *N) { in classof()
668 Status getNodeStatus(const InMemoryNode *Node, const Twine &RequestedName) { in getNodeStatus()
726 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
731 std::unique_ptr<detail::InMemoryNode> Child; in addFile()
805 static ErrorOr<const detail::InMemoryNode *>
824 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupInMemoryNode()