OSDN Git Service

raw_ostream: Replace flush_impl with write_impl, which takes data to
authorDaniel Dunbar <daniel@zuster.org>
Mon, 16 Mar 2009 23:29:31 +0000 (23:29 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 16 Mar 2009 23:29:31 +0000 (23:29 +0000)
commit89a66a96fed75796bc5e079217130b62105cb438
tree74be4a1cb79a17d4079f9a1cde3cecbe3750f22e
parentcf2a2c6a26427733f31dd539c6ee6486ea191da2
raw_ostream: Replace flush_impl with write_impl, which takes data to
write as arguments.
 - Add raw_ostream::GetNumBytesInBuffer.
 - Privatize buffer pointers.
 - Get rid of slow and unnecessary code for writing out large strings.

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