[llvm] r333817 - [Support] Remove unused raw_ostream::handle whose anchor role was superseded by anchor()
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 1 23:00:36 PDT 2018
Author: maskray
Date: Fri Jun 1 23:00:35 2018
New Revision: 333817
URL: http://llvm.org/viewvc/llvm-project?rev=333817&view=rev
Log:
[Support] Remove unused raw_ostream::handle whose anchor role was superseded by anchor()
Modified:
llvm/trunk/include/llvm/Support/raw_ostream.h
llvm/trunk/lib/Support/circular_raw_ostream.cpp
llvm/trunk/lib/Support/raw_ostream.cpp
Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=333817&r1=333816&r2=333817&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Fri Jun 1 23:00:35 2018
@@ -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;
Modified: llvm/trunk/lib/Support/circular_raw_ostream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/circular_raw_ostream.cpp?rev=333817&r1=333816&r2=333817&view=diff
==============================================================================
--- llvm/trunk/lib/Support/circular_raw_ostream.cpp (original)
+++ llvm/trunk/lib/Support/circular_raw_ostream.cpp Fri Jun 1 23:00:35 2018
@@ -33,7 +33,7 @@ void circular_raw_ostream::write_impl(co
Cur = BufferArray;
Filled = true;
}
- }
+ }
}
void circular_raw_ostream::flushBufferWithBanner() {
Modified: llvm/trunk/lib/Support/raw_ostream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/raw_ostream.cpp?rev=333817&r1=333816&r2=333817&view=diff
==============================================================================
--- llvm/trunk/lib/Support/raw_ostream.cpp (original)
+++ llvm/trunk/lib/Support/raw_ostream.cpp Fri Jun 1 23:00:35 2018
@@ -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;
More information about the llvm-commits
mailing list