summaryrefslogtreecommitdiff
path: root/lib/Support/raw_ostream.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-19 00:14:25 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-19 00:14:25 +0000
commitd29d497b530a7094c808540cfdb68a7af3afd315 (patch)
tree28828d237fb7d50376dfba03b0ed72137e7a027a /lib/Support/raw_ostream.cpp
parent107f41fad5f8df734c72cf39a016a7ea0d874388 (diff)
downloadllvm-d29d497b530a7094c808540cfdb68a7af3afd315.tar.gz
llvm-d29d497b530a7094c808540cfdb68a7af3afd315.tar.bz2
llvm-d29d497b530a7094c808540cfdb68a7af3afd315.tar.xz
raw_ostream: Remove pointless redefinitions of tell().
- The base class implementation is correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79385 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/raw_ostream.cpp')
-rw-r--r--lib/Support/raw_ostream.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp
index 044b963ee1..3b678bd6b5 100644
--- a/lib/Support/raw_ostream.cpp
+++ b/lib/Support/raw_ostream.cpp
@@ -477,10 +477,6 @@ void raw_os_ostream::write_impl(const char *Ptr, size_t Size) {
uint64_t raw_os_ostream::current_pos() { return OS.tellp(); }
-uint64_t raw_os_ostream::tell() {
- return (uint64_t)OS.tellp() + GetNumBytesInBuffer();
-}
-
//===----------------------------------------------------------------------===//
// raw_string_ostream
//===----------------------------------------------------------------------===//
@@ -510,10 +506,6 @@ void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) {
uint64_t raw_svector_ostream::current_pos() { return OS.size(); }
-uint64_t raw_svector_ostream::tell() {
- return OS.size() + GetNumBytesInBuffer();
-}
-
//===----------------------------------------------------------------------===//
// raw_null_ostream
//===----------------------------------------------------------------------===//