Files
revng-revng/include/revng/Storage/ReadableFile.h
Giacomo Vercesi 93d3a6238d revng: introduce S3 support
Add the capability for all revng tooling to run with an S3-backed
workdir.
2023-09-06 15:23:43 +02:00

27 lines
556 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include "llvm/Support/MemoryBuffer.h"
namespace revng {
class ReadableFile {
protected:
ReadableFile() = default;
public:
virtual ~ReadableFile() = default;
ReadableFile(const ReadableFile &Other) = delete;
ReadableFile &operator=(const ReadableFile &Other) = delete;
ReadableFile(ReadableFile &&Other) = delete;
ReadableFile &operator=(ReadableFile &&Other) = delete;
virtual llvm::MemoryBuffer &buffer() = 0;
};
} // namespace revng