diff options
author | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2014-04-30 19:59:22 +0000 |
---|---|---|
committer | Arnaud A. de Grandmaison <arnaud.adegm@gmail.com> | 2014-04-30 19:59:22 +0000 |
commit | e1265143e289af642ffb074764fe8763a5e6587c (patch) | |
tree | 530212f51ee61677484e1b7473a1e4d552d0fe6d /llvm/lib/Analysis/CaptureTracking.cpp | |
parent | a1fbf3459fd1a2f480183615893065f0c2e9dae9 (diff) | |
download | bcm5719-llvm-e1265143e289af642ffb074764fe8763a5e6587c.tar.gz bcm5719-llvm-e1265143e289af642ffb074764fe8763a5e6587c.zip |
PR19601: std::remove_if does not really remove the elements.
It moves them at the end of the range instead, so an extra erase is needed.
It is strange that this code works without the erase. On the other hand, removing the remove_if will make fail some tests.
llvm-svn: 207696
Diffstat (limited to 'llvm/lib/Analysis/CaptureTracking.cpp')
0 files changed, 0 insertions, 0 deletions