OSDN Git Service

add a new raw_ostream class which is an extremely high performance ostream that
authorChris Lattner <sabre@nondot.org>
Sun, 17 Aug 2008 01:35:29 +0000 (01:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 17 Aug 2008 01:35:29 +0000 (01:35 +0000)
commit60d396262460f0613175e52c00be5e8bfb89d8fb
treeb09a27364396b43a1bd0066f173f007dab70b7ca
parentafc20ae0e538a731f379dc1ae9ac564023078978
add a new raw_ostream class which is an extremely high performance ostream that
can *only* output data (no seeking, reading, etc).  This is adapted from the
clang "-E outputter", and is roughly 10% faster than stdio on darwin and 30%
(or more) faster than std::ostream.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54855 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/raw_ostream.h [new file with mode: 0644]
lib/Support/raw_ostream.cpp [new file with mode: 0644]