From 3963e756e35d61e4a0c973f301a068c9bfd2f346 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 2 Nov 2009 21:25:11 +0000 Subject: [PATCH] Add note to FIXME about PR5371. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85825 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/SourceManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp index 962cb4c42a..f8e05e4962 100644 --- a/lib/Basic/SourceManager.cpp +++ b/lib/Basic/SourceManager.cpp @@ -52,6 +52,7 @@ 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, -- 2.40.0