Searched defs:DummyFile (Results 1 – 3 of 3) sorted by relevance
23 struct DummyFile : public vfs::File { struct24 vfs::Status S;25 explicit DummyFile(vfs::Status S) : S(S) {} in DummyFile() function26 llvm::ErrorOr<vfs::Status> status() override { return S; } in status()28 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()32 std::error_code close() override { return std::error_code(); } in close()
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()
33 struct DummyFile : public vfs::File { struct34 vfs::Status S;35 explicit DummyFile(vfs::Status S) : S(S) {} in DummyFile() argument36 llvm::ErrorOr<vfs::Status> status() override { return S; } in status()38 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()42 std::error_code close() override { return std::error_code(); } in close()