diff options
| author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-12-20 00:16:25 +0000 |
|---|---|---|
| committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-12-20 00:16:25 +0000 |
| commit | 6662406f93faf5a8d59ec4adccbed66d00f2ccb3 (patch) | |
| tree | 02e34de16f58bf2a15e2e46238de0c46a5886754 /lib/CodeGen/CGExprConstant.cpp | |
| parent | 74a06fac1a41a5955aab5712c12af024b93af841 (diff) | |
| download | clang-6662406f93faf5a8d59ec4adccbed66d00f2ccb3.tar.gz clang-6662406f93faf5a8d59ec4adccbed66d00f2ccb3.tar.bz2 clang-6662406f93faf5a8d59ec4adccbed66d00f2ccb3.tar.xz | |
ASTUnit::getMainBufferWithPrecompiledPreamble: use MD5 hash of the remapped
files to tell if they were changed since the last time we have computed the
preamble
We used to check only the buffer size, so if the new remapped buffer has the
same size as the previous one, we would think that the buffer did not change,
and we did not rebuild the preambule, which sometimes caused us to crash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
