forked from OSchip/llvm-project
[Support] Remove unused raw_ostream::handle whose anchor role was superseded by anchor()
llvm-svn: 333817
This commit is contained in:
parent
7177528783
commit
8ca769d204
|
@ -296,9 +296,6 @@ private:
|
||||||
/// \invariant { Size > 0 }
|
/// \invariant { Size > 0 }
|
||||||
virtual void write_impl(const char *Ptr, size_t Size) = 0;
|
virtual void write_impl(const char *Ptr, size_t Size) = 0;
|
||||||
|
|
||||||
// An out of line virtual method to provide a home for the class vtable.
|
|
||||||
virtual void handle();
|
|
||||||
|
|
||||||
/// Return the current position within the stream, not counting the bytes
|
/// Return the current position within the stream, not counting the bytes
|
||||||
/// currently in the buffer.
|
/// currently in the buffer.
|
||||||
virtual uint64_t current_pos() const = 0;
|
virtual uint64_t current_pos() const = 0;
|
||||||
|
|
|
@ -33,7 +33,7 @@ void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) {
|
||||||
Cur = BufferArray;
|
Cur = BufferArray;
|
||||||
Filled = true;
|
Filled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void circular_raw_ostream::flushBufferWithBanner() {
|
void circular_raw_ostream::flushBufferWithBanner() {
|
||||||
|
|
|
@ -75,9 +75,6 @@ raw_ostream::~raw_ostream() {
|
||||||
delete [] OutBufStart;
|
delete [] OutBufStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
// An out of line virtual method to provide a home for the class vtable.
|
|
||||||
void raw_ostream::handle() {}
|
|
||||||
|
|
||||||
size_t raw_ostream::preferred_buffer_size() const {
|
size_t raw_ostream::preferred_buffer_size() const {
|
||||||
// BUFSIZ is intended to be a reasonable default.
|
// BUFSIZ is intended to be a reasonable default.
|
||||||
return BUFSIZ;
|
return BUFSIZ;
|
||||||
|
|
Loading…
Reference in New Issue