summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/SimpleFormatContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Index/SimpleFormatContext.h')
-rw-r--r--clang/lib/Index/SimpleFormatContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/SimpleFormatContext.h b/clang/lib/Index/SimpleFormatContext.h
index fde43aed211..99d0d9a1cee 100644
--- a/clang/lib/Index/SimpleFormatContext.h
+++ b/clang/lib/Index/SimpleFormatContext.h
@@ -51,7 +51,7 @@ public:
llvm::MemoryBuffer::getMemBuffer(Content);
const FileEntry *Entry =
Files.getVirtualFile(Name, Source->getBufferSize(), 0);
- Sources.overrideFileContents(Entry, Source, true);
+ Sources.overrideFileContents(Entry, Source);
assert(Entry != NULL);
return Sources.createFileID(Entry, SourceLocation(), SrcMgr::C_User);
}
OpenPOWER on IntegriCloud