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 | 06231460b3fc4a230b8b6284b057ac8a75d4b740 (patch) | |
tree | 5022c7bf31319e91638e09a4ee8402496bf34478 /clang/lib/Basic/SourceManager.cpp | |
parent | 1c66e8a6b7871ee0ce5725f196e848ec727652d7 (diff) | |
download | bcm5719-llvm-06231460b3fc4a230b8b6284b057ac8a75d4b740.tar.gz bcm5719-llvm-06231460b3fc4a230b8b6284b057ac8a75d4b740.zip |
Add note to FIXME about PR5371.
llvm-svn: 85825
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
-rw-r--r-- | clang/lib/Basic/SourceManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index 962cb4c42a8..f8e05e49625 100644 --- a/clang/lib/Basic/SourceManager.cpp +++ b/clang/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, |