]> granicus.if.org Git - clang/commitdiff
Remove obsolete preamble FIXME
authorAlp Toker <alp@nuanti.com>
Fri, 20 Dec 2013 22:27:20 +0000 (22:27 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 20 Dec 2013 22:27:20 +0000 (22:27 +0000)
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

lib/Frontend/ASTUnit.cpp

index 6f6283bc8e7a20e1b21faf162608484097be2183..4f761f4c9bc8869d0e0eb8f04fc1ffb2e8799022 100644 (file)
@@ -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);
       }