]> granicus.if.org Git - clang/commit
Fixed invalid iterators. Since the iterator is invalidated after the erase() call...
authorJoao Matos <ripzonetriton@gmail.com>
Fri, 31 Aug 2012 17:28:09 +0000 (17:28 +0000)
committerJoao Matos <ripzonetriton@gmail.com>
Fri, 31 Aug 2012 17:28:09 +0000 (17:28 +0000)
commite4d90e14841e1e2d94701f65ad3f23a223fdaaca
treeaa338d0c461c9c1837b4a00bcb94a903267a3419
parentde5277fc555551857602bd7a7e5e616274e2d4a6
Fixed invalid iterators. Since the iterator is invalidated after the erase() call, we need to replace it with the new one returned. This was triggering an assert under MSVC 2012 and making all the ARCMT/ tests fail.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163007 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ARCMigrate/ARCMT.cpp