Skip to content
Commit 4765252d authored by Dmitri Gribenko's avatar Dmitri Gribenko
Browse files

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.

llvm-svn: 197755
parent 86409e1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment