aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
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
commitd34262015dd5c0a6866ee71d73b1a50c58a461fd (patch)
tree28828d237fb7d50376dfba03b0ed72137e7a027a /include/llvm/Support
parent18101d5dbbdb71e4527480e2c677239d931390e9 (diff)
downloadexternal_llvm-d34262015dd5c0a6866ee71d73b1a50c58a461fd.zip
external_llvm-d34262015dd5c0a6866ee71d73b1a50c58a461fd.tar.gz
external_llvm-d34262015dd5c0a6866ee71d73b1a50c58a461fd.tar.bz2
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 'include/llvm/Support')
-rw-r--r--include/llvm/Support/raw_ostream.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 339a143..1668cc5 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -355,9 +355,6 @@ public:
/// close - Manually flush the stream and close the file.
void close();
- /// tell - Return the current offset with the file.
- uint64_t tell() { return pos + GetNumBytesInBuffer(); }
-
/// seek - Flushes the stream and repositions the underlying file descriptor
/// positition to the offset specified from the beginning of the file.
uint64_t seek(uint64_t off);
@@ -417,9 +414,6 @@ class raw_os_ostream : public raw_ostream {
public:
raw_os_ostream(std::ostream &O) : OS(O) {}
~raw_os_ostream();
-
- /// tell - Return the current offset with the stream.
- uint64_t tell();
};
/// raw_string_ostream - A raw_ostream that writes to an std::string. This is a
@@ -437,9 +431,6 @@ public:
explicit raw_string_ostream(std::string &O) : OS(O) {}
~raw_string_ostream();
- /// tell - Return the current offset with the stream.
- uint64_t tell() { return OS.size() + GetNumBytesInBuffer(); }
-
/// str - Flushes the stream contents to the target string and returns
/// the string's reference.
std::string& str() {
@@ -463,9 +454,6 @@ class raw_svector_ostream : public raw_ostream {
public:
explicit raw_svector_ostream(SmallVectorImpl<char> &O);
~raw_svector_ostream();
-
- /// tell - Return the current offset with the stream.
- uint64_t tell();
};
/// raw_null_ostream - A raw_ostream that discards all output.