diff options
-rw-r--r-- | llvm/include/llvm/Support/raw_ostream.h | 3 | ||||
-rw-r--r-- | llvm/lib/Support/circular_raw_ostream.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Support/raw_ostream.cpp | 3 |
3 files changed, 1 insertions, 7 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h index 83037a9b02c..263d6658ffd 100644 --- a/llvm/include/llvm/Support/raw_ostream.h +++ b/llvm/include/llvm/Support/raw_ostream.h @@ -296,9 +296,6 @@ private: /// \invariant { 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 /// currently in the buffer. virtual uint64_t current_pos() const = 0; diff --git a/llvm/lib/Support/circular_raw_ostream.cpp b/llvm/lib/Support/circular_raw_ostream.cpp index ca0d30db388..e768f17cd00 100644 --- a/llvm/lib/Support/circular_raw_ostream.cpp +++ b/llvm/lib/Support/circular_raw_ostream.cpp @@ -33,7 +33,7 @@ void circular_raw_ostream::write_impl(const char *Ptr, size_t Size) { Cur = BufferArray; Filled = true; } - } + } } void circular_raw_ostream::flushBufferWithBanner() { diff --git a/llvm/lib/Support/raw_ostream.cpp b/llvm/lib/Support/raw_ostream.cpp index a4ab75c2735..3de063449f7 100644 --- a/llvm/lib/Support/raw_ostream.cpp +++ b/llvm/lib/Support/raw_ostream.cpp @@ -75,9 +75,6 @@ raw_ostream::~raw_ostream() { 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 { // BUFSIZ is intended to be a reasonable default. return BUFSIZ; |