aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/raw_ostream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/raw_ostream.h')
-rw-r--r--include/llvm/Support/raw_ostream.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h
index 709a063e2a..2b4b17d7b2 100644
--- a/include/llvm/Support/raw_ostream.h
+++ b/include/llvm/Support/raw_ostream.h
@@ -175,7 +175,10 @@ public:
virtual void flush_impl();
/// close - Manually flush the stream and close the file.
- void close();
+ void close();
+
+ /// tell - Return the current offset with the file.
+ uint64_t tell();
};
/// raw_stdout_ostream - This is a stream that always prints to stdout.