diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-10-23 23:49:09 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-10-23 23:49:09 +0000 |
commit | 43d1f02b547b146d81abeb0ed0f88628f0fdc7dc (patch) | |
tree | caafadc94b1122da2292212f1fce81457203c439 /include/llvm/Support/raw_ostream.h | |
parent | 93fbe75a9431e49929c23847880ba61324013ee6 (diff) | |
download | llvm-43d1f02b547b146d81abeb0ed0f88628f0fdc7dc.tar.gz llvm-43d1f02b547b146d81abeb0ed0f88628f0fdc7dc.tar.bz2 llvm-43d1f02b547b146d81abeb0ed0f88628f0fdc7dc.tar.xz |
Added raw_fd_ostream::close().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/raw_ostream.h')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index af53477cea..9b307dbf95 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -168,6 +168,9 @@ public: /// subclasses. This outputs the currently buffered data and resets the /// buffer to empty. virtual void flush_impl(); + + /// close - Manually flush the stream and close the file. + void close(); }; /// raw_stdout_ostream - This is a stream that always prints to stdout. |