Lines Matching defs:InMemoryNode
640 class InMemoryNode {
645 InMemoryNode(llvm::StringRef FileName, InMemoryNodeKind Kind)
648 virtual ~InMemoryNode() = default;
661 class InMemoryFile : public InMemoryNode {
667 : InMemoryNode(Stat.getName(), IME_File), Stat(std::move(Stat)),
679 static bool classof(const InMemoryNode *N) {
686 class InMemoryHardLink : public InMemoryNode {
691 : InMemoryNode(Path, IME_HardLink), ResolvedFile(ResolvedFile) {}
703 static bool classof(const InMemoryNode *N) {
708 class InMemorySymbolicLink : public InMemoryNode {
714 : InMemoryNode(Path, IME_SymbolicLink), TargetPath(std::move(TargetPath)),
727 static bool classof(const InMemoryNode *N) {
763 class InMemoryDirectory : public InMemoryNode {
765 std::map<std::string, std::unique_ptr<InMemoryNode>, std::less<>> Entries;
769 : InMemoryNode(Stat.getName(), IME_Directory), Stat(std::move(Stat)) {}
780 InMemoryNode *getChild(StringRef Name) const {
787 InMemoryNode *addChild(StringRef Name, std::unique_ptr<InMemoryNode> Child) {
804 static bool classof(const InMemoryNode *N) {
889 detail::InMemoryNode *Node = Dir->getChild(Name);
906 detail::InMemoryNode *Node = Dir->getChild(Name);
939 -> std::unique_ptr<detail::InMemoryNode> {
957 -> std::unique_ptr<detail::InMemoryNode> {
986 detail::InMemoryNode *Node = Dir->getChild(*I);