From: Alp Toker Date: Fri, 20 Dec 2013 22:27:20 +0000 (+0000) Subject: Remove obsolete preamble FIXME X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=487a1043559dd49058605de8483c0af9895cf0a6;p=clang Remove obsolete preamble FIXME The MD5 is checked since r197755 which is as good as comparing buffer contents in this context. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197842 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/ASTUnit.cpp b/lib/Frontend/ASTUnit.cpp index 6f6283bc8e..4f761f4c9b 100644 --- a/lib/Frontend/ASTUnit.cpp +++ b/lib/Frontend/ASTUnit.cpp @@ -1480,8 +1480,6 @@ llvm::MemoryBuffer *ASTUnit::getMainBufferWithPrecompiledPreamble( REnd = PreprocessorOpts.remapped_file_buffer_end(); !AnyFileChanged && R != REnd; ++R) { - // FIXME: Should we actually compare the contents of file->buffer - // remappings? OverriddenFiles[R->first] = PreambleFileHash::createForMemoryBuffer(R->second); }