Third try at fixing this. ;] Go back to using std::remove_if, which has
authorChandler Carruth <chandlerc@gmail.com>
Wed, 3 Oct 2012 01:04:07 +0000 (01:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 3 Oct 2012 01:04:07 +0000 (01:04 +0000)
commitc7b2aeebb707da53075188bdf71bac6072d18127
tree384622903d73376756d9458e4b7aa1d2e331e9de
parent0f6e8bb5e03428becb1f17a5b381475652aa3425
Third try at fixing this. ;] Go back to using std::remove_if, which has
most of the behavior we want, but wrap the predicate in one which erases
elements from the set if they pass the predicate. Oh what I wouldn't
give for a lambda here.

Let me know if the predicate wrapping is too much magic. ;]

llvm-svn: 165076
llvm/include/llvm/ADT/SetVector.h