"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "e0c3c18802214211ac5d3074375c0922783f3a49"
Fix PR35564 - std::list splice/erase incorrectly throw in debug mode.
There was a bug in the implementation of splice where the container sizes were updated before decrementing one of the iterators. Afterwards, the result of decrementing the iterator was flagged as UB by the debug implementation because the container was reported to be empty. This patch fixes that bug by delaying the updating of the container sizes until after the iterators have been correctly constructed. llvm-svn: 323390
Loading
Please register or sign in to comment