]> granicus.if.org Git - clang/commit
[modules] Fix iterator invalidation issue with names being added to a module
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Mar 2015 00:00:51 +0000 (00:00 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 11 Mar 2015 00:00:51 +0000 (00:00 +0000)
commit532ae572bbe1d2239646c728cd2d5db753430ad3
tree594340015d5aff73cbe04df1349f41a3a5b4d35d
parent57b4d9371be42b9f82cb528b5318dbb445fb068e
[modules] Fix iterator invalidation issue with names being added to a module
while we're writing out the identifier table.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/invalidate-identifiers/a.h [new file with mode: 0644]
test/Modules/Inputs/invalidate-identifiers/b.h [new file with mode: 0644]
test/Modules/Inputs/invalidate-identifiers/module.modulemap [new file with mode: 0644]
test/Modules/invalidate-identifiers.c [new file with mode: 0644]