diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-11-02 21:25:11 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-11-02 21:25:11 +0000 |
commit | 3963e756e35d61e4a0c973f301a068c9bfd2f346 (patch) | |
tree | 412c12f46b752f5b03bb74bf7446ce6b78387c05 | |
parent | 3abf3ad0861fb6eb8368f59dcb4cd454939b1bd2 (diff) |
Add note to FIXME about PR5371.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85825 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/SourceManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<ContentCache *>(this)->truncateAt(TruncateAtLine, |