Added "str()" method to raw_string_ostream.
authorTed Kremenek <kremenek@apple.com>
Tue, 26 Aug 2008 16:34:01 +0000 (16:34 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 26 Aug 2008 16:34:01 +0000 (16:34 +0000)
commit3d4866e68338c5c5d7b9a3130a3db5b12658776c
treef6a4c8edbe400677060839e14620187667975716
parent9783d624228bc787aa839ac1e7741cb0303c15a6
Added "str()" method to raw_string_ostream.
str() mirrors the same method in std::ostringstream.
str() flushes the buffered stream contents to string and returns a reference to the string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55370 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/raw_ostream.h