summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-03 05:11:39 +0000
committerChris Lattner <sabre@nondot.org>2009-11-03 05:11:39 +0000
commit3deabca934c6b8d2dfa11eb37c1f1b4b82560c26 (patch)
tree5eeecaa8a82b6866221ec8ce23c55309c415b5ca /clang/lib/Basic
parent187cb4f49329b925393c246a6d7b9d46587db2aa (diff)
downloadbcm5719-llvm-3deabca934c6b8d2dfa11eb37c1f1b4b82560c26.tar.gz
bcm5719-llvm-3deabca934c6b8d2dfa11eb37c1f1b4b82560c26.zip
pr5371 likely has nothing to do with this.
llvm-svn: 85862
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r--clang/lib/Basic/SourceManager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp
index f8e05e49625..962cb4c42a8 100644
--- a/clang/lib/Basic/SourceManager.cpp
+++ b/clang/lib/Basic/SourceManager.cpp
@@ -52,7 +52,6 @@ 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,
OpenPOWER on IntegriCloud