From: Chris Lattner Date: Tue, 3 Nov 2009 05:11:39 +0000 (+0000) Subject: pr5371 likely has nothing to do with this. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=170b765785a00e8a66bf7f917dd5ec355d32d2d8;p=clang pr5371 likely has nothing to do with this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85862 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index f8e05e4962..962cb4c42a 100644 --- a/lib/Basic/SourceManager.cpp +++ b/lib/Basic/SourceManager.cpp @@ -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(this)->truncateAt(TruncateAtLine,