Make raw_ostream non-copyable.

llvm-svn: 78920
This commit is contained in:
Dan Gohman 2009-08-13 17:07:08 +00:00
parent 86c065dd68
commit f0b93441a4
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ namespace llvm {
/// a chunk at a time.
class raw_ostream {
private:
// Do not implement. raw_ostream is noncopyable.
void operator=(const raw_ostream &);
raw_ostream(const raw_ostream &);
/// The buffer is handled in such a way that the buffer is
/// uninitialized, unbuffered, or out of space when OutBufCur >=
/// OutBufEnd. Thus a single comparison suffices to determine if we