[cfe-commits] r85825 - /cfe/trunk/lib/Basic/SourceManager.cpp
Edward O'Callaghan
eocallaghan at auroraux.org
Mon Nov 2 13:25:12 PST 2009
Author: evocallaghan
Date: Mon Nov 2 15:25:11 2009
New Revision: 85825
URL: http://llvm.org/viewvc/llvm-project?rev=85825&view=rev
Log:
Add note to FIXME about PR5371.
Modified:
cfe/trunk/lib/Basic/SourceManager.cpp
Modified: cfe/trunk/lib/Basic/SourceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/SourceManager.cpp?rev=85825&r1=85824&r2=85825&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/SourceManager.cpp (original)
+++ cfe/trunk/lib/Basic/SourceManager.cpp Mon Nov 2 15:25:11 2009
@@ -52,6 +52,7 @@
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,
More information about the cfe-commits
mailing list