summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2014-04-30 19:59:22 +0000
committerArnaud A. de Grandmaison <arnaud.adegm@gmail.com>2014-04-30 19:59:22 +0000
commitac011f7b0309ebcea9ce1e4dc118c22afb21c2b8 (patch)
treeb0f7eed435d6eda999dc6f6811359d957f5b7aa2 /lib/Serialization/ModuleManager.cpp
parentcc1fce58faa4b0d789b9cfaeae1002504514d45c (diff)
downloadclang-ac011f7b0309ebcea9ce1e4dc118c22afb21c2b8.tar.gz
clang-ac011f7b0309ebcea9ce1e4dc118c22afb21c2b8.tar.bz2
clang-ac011f7b0309ebcea9ce1e4dc118c22afb21c2b8.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions