PR26237: Fix iterator invalidation bug that occurs if serializing
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 24 Feb 2016 21:59:10 +0000 (21:59 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 24 Feb 2016 21:59:10 +0000 (21:59 +0000)
commit8ab0cfd5a7e5288f110800b495c968cb7f8eb26d
tree50153acd481e5d6cd48035c40ddf012ddb9d7f21
parentf4ea6039698a9d07cf88bc959e79a83b05de5a82
PR26237: Fix iterator invalidation bug that occurs if serializing
specializations of a template manages to trigger deserialization of more
specializations of the same template.

No test case provided: this is hard to reliably test due to standard library
differences.

Patch by Vassil Vassilev!

llvm-svn: 261781
clang/lib/Serialization/ASTWriterDecl.cpp