diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-10-03 01:04:07 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-10-03 01:04:07 +0000 |
commit | c7b2aeebb707da53075188bdf71bac6072d18127 (patch) | |
tree | 384622903d73376756d9458e4b7aa1d2e331e9de /clang/lib/CodeGen/CGExprScalar.cpp | |
parent | 0f6e8bb5e03428becb1f17a5b381475652aa3425 (diff) | |
download | bcm5719-llvm-c7b2aeebb707da53075188bdf71bac6072d18127.tar.gz bcm5719-llvm-c7b2aeebb707da53075188bdf71bac6072d18127.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions