Lines Matching defs:InMemoryNode
628 class InMemoryNode {
633 InMemoryNode(llvm::StringRef FileName, InMemoryNodeKind Kind)
636 virtual ~InMemoryNode() = default;
649 class InMemoryFile : public InMemoryNode {
655 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)),
667 static bool classof(const InMemoryNode *N) {
674 class InMemoryHardLink : public InMemoryNode {
679 : InMemoryNode(Path, IME_HardLink), ResolvedFile(ResolvedFile) {}
691 static bool classof(const InMemoryNode *N) {
696 class InMemorySymbolicLink : public InMemoryNode {
702 : InMemoryNode(Path, IME_SymbolicLink), TargetPath(std::move(TargetPath)),
715 static bool classof(const InMemoryNode *N) {
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)) {}
768 InMemoryNode *getChild(StringRef Name) const {
775 InMemoryNode *addChild(StringRef Name, std::unique_ptr<InMemoryNode> Child) {
792 static bool classof(const InMemoryNode *N) {
877 detail::InMemoryNode *Node = Dir->getChild(Name);
894 detail::InMemoryNode *Node = Dir->getChild(Name);
927 -> std::unique_ptr<detail::InMemoryNode> {
945 -> std::unique_ptr<detail::InMemoryNode> {
974 detail::InMemoryNode *Node = Dir->getChild(*I);