pr5371 likely has nothing to do with this.

llvm-svn: 85862
This commit is contained in:
Chris Lattner 2009-11-03 05:11:39 +00:00
parent 187cb4f493
commit 3deabca934
1 changed files with 0 additions and 1 deletions

View File

@ -52,7 +52,6 @@ const llvm::MemoryBuffer *ContentCache::getBuffer() const {
if (!Buffer && Entry) {
// FIXME: Should we support a way to not have to do this check over
// and over if we cannot open the file?
// Yes, PR5371.
Buffer = MemoryBuffer::getFile(Entry->getName(), 0, Entry->getSize());
if (isTruncated())
const_cast<ContentCache *>(this)->truncateAt(TruncateAtLine,