]> granicus.if.org Git - clang/commitdiff
Add note to FIXME about PR5371.
authorEdward O'Callaghan <eocallaghan@auroraux.org>
Mon, 2 Nov 2009 21:25:11 +0000 (21:25 +0000)
committerEdward O'Callaghan <eocallaghan@auroraux.org>
Mon, 2 Nov 2009 21:25:11 +0000 (21:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85825 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/SourceManager.cpp

index 962cb4c42a8ab0e030581801daf89f79eba53e58..f8e05e4962547ac6f239e6b081e7c8f94e006c72 100644 (file)
@@ -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,