]> granicus.if.org Git - clang/commit
MemoryBuffer::getFile got smarter, obviating the need for readfilefast.
authorChris Lattner <sabre@nondot.org>
Tue, 1 Apr 2008 06:06:37 +0000 (06:06 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Apr 2008 06:06:37 +0000 (06:06 +0000)
commit3c1f7b615c03e55f8aaee14a5793c917c050b373
tree4516a74eaf9700bfe3fc0fa220f5a110705b3994
parent33bd942e7449f044ce6a9c81a008407dce4215da
MemoryBuffer::getFile got smarter, obviating the need for readfilefast.
The new MemoryBuffer doesn't "leak" file descriptors and handles the
small file case efficiently.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49032 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/SourceManager.cpp