This is an archive of the discontinued LLVM Phabricator instance.

[ADT] Add an llvm::erase_if utility to make the standard erase+remove_if pattern easier to write.
ClosedPublic

Authored by chandlerc on Dec 26 2016, 3:28 PM.

Event Timeline

chandlerc updated this revision to Diff 82520.Dec 26 2016, 3:28 PM
chandlerc retitled this revision from to [ADT] Add an llvm::erase_if utility to make the standard erase+remove_if pattern easier to write..
chandlerc updated this object.
chandlerc added a reviewer: aaron.ballman.
chandlerc added a subscriber: llvm-commits.
aaron.ballman accepted this revision.Dec 26 2016, 3:34 PM
aaron.ballman edited edge metadata.

LGTM!

include/llvm/ADT/STLExtras.h
819

Typo: colon instead of semi-colon?

This revision is now accepted and ready to land.Dec 26 2016, 3:34 PM
This revision was automatically updated to reflect the committed changes.