Lines Matching refs:InMemoryNode
628 class InMemoryNode { class
633 InMemoryNode(llvm::StringRef FileName, InMemoryNodeKind Kind) in InMemoryNode() function in llvm::vfs::detail::InMemoryNode
636 virtual ~InMemoryNode() = default;
649 class InMemoryFile : public InMemoryNode {
655 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)), in InMemoryFile()
667 static bool classof(const InMemoryNode *N) { in classof()
674 class InMemoryHardLink : public InMemoryNode {
679 : InMemoryNode(Path, IME_HardLink), ResolvedFile(ResolvedFile) {} in InMemoryHardLink()
691 static bool classof(const InMemoryNode *N) { in classof()
696 class InMemorySymbolicLink : public InMemoryNode {
702 : InMemoryNode(Path, IME_SymbolicLink), TargetPath(std::move(TargetPath)), in InMemorySymbolicLink()
715 static bool classof(const InMemoryNode *N) { in classof()
751 class InMemoryDirectory : public InMemoryNode {
753 std::map<std::string, std::unique_ptr<InMemoryNode>> Entries;
757 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {} in InMemoryDirectory()
768 InMemoryNode *getChild(StringRef Name) const { in getChild()
775 InMemoryNode *addChild(StringRef Name, std::unique_ptr<InMemoryNode> Child) { in addChild()
792 static bool classof(const InMemoryNode *N) { in classof()
877 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
894 detail::InMemoryNode *Node = Dir->getChild(Name); in addFile()
927 -> std::unique_ptr<detail::InMemoryNode> { in addFile()
945 -> std::unique_ptr<detail::InMemoryNode> { in addFileNoOwn()
974 detail::InMemoryNode *Node = Dir->getChild(*I); in lookupNode()