]> granicus.if.org Git - clang/commit
Remove this hard-coded buffer size. In some basic experiments preprocessing
authorDan Gohman <gohman@apple.com>
Fri, 16 Apr 2010 16:28:05 +0000 (16:28 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 16 Apr 2010 16:28:05 +0000 (16:28 +0000)
commit8ed4ff6d05ef41027ddaa13000309e719fa27ce8
tree5deff8ff02c93287140480c8828b67eb9a7cc038
parent1c7658fd32f26a3ea5fa1421494b2449c9eba3c9
Remove this hard-coded buffer size. In some basic experiments preprocessing
large files, this doesn't seem significantly better than just letting
raw_ostream pick a buffer size.

This code predates raw-ostream's automatic buffer sizing; in fact, it
was introduced as part of the code which would eventually become
raw_ostream.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101473 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/PrintPreprocessedOutput.cpp