Make raw_ostream non-copyable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78920 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-08-13 17:07:08 +00:00
parent b42dad4761
commit b3667ae9b6

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