Searched defs:DummyFile (Results 1 – 1 of 1) sorted by relevance
25 struct DummyFile : public vfs::File { struct26 vfs::Status S;27 explicit DummyFile(vfs::Status S) : S(S) {} in DummyFile() function28 llvm::ErrorOr<vfs::Status> status() override { return S; } in status()30 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()34 std::error_code close() override { return std::error_code(); } in close()