Lines Matching refs:InMemoryNode
487 class InMemoryNode { class
492 InMemoryNode(llvm::StringRef FileName, InMemoryNodeKind Kind) in InMemoryNode() function in llvm::vfs::detail::InMemoryNode
494 virtual ~InMemoryNode() = default;
502 class InMemoryFile : public InMemoryNode {
508 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
523 static bool classof(const InMemoryNode *N) { in classof()
530 class InMemoryHardLink : public InMemoryNode {
535 : InMemoryNode(Path, IME_HardLink), ResolvedFile(ResolvedFile) {} in InMemoryHardLink()
543 static bool classof(const InMemoryNode *N) { in classof()
577 class InMemoryDirectory : public InMemoryNode {
579 llvm::StringMap<std::unique_ptr<InMemoryNode>> Entries;
583 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory()
591 InMemoryNode *getChild(StringRef Name) { in getChild()
598 InMemoryNode *addChild(StringRef Name, std::unique_ptr<InMemoryNode> Child) { in addChild()
616 static bool classof(const InMemoryNode *N) { in classof()
622 Status getNodeStatus(const InMemoryNode *Node, StringRef RequestedName) { in getNodeStatus()
680 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
685 std::unique_ptr<detail::InMemoryNode> Child; in addFile()
761 static ErrorOr<const detail::InMemoryNode *>
780 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupInMemoryNode()