Commit 3015c39
committed
[cxx-interop] Fix iterator invalidation
This fixes an assertion failure in ClangImporter that was blocking bootstrapping of the FreeBSD toolchain.
Iterators pointing into `Impl.GetterSetterMap[result]` were being invalidated inside of the for-each loop.
I was unable to minimize the reproducer, so this doesn't include a test case.
rdar://1645181081 parent 51c1358 commit 3015c39
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2645 | 2645 | | |
2646 | 2646 | | |
2647 | 2647 | | |
2648 | | - | |
| 2648 | + | |
| 2649 | + | |
2649 | 2650 | | |
2650 | 2651 | | |
2651 | 2652 | | |
| |||
0 commit comments