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

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 26 15:34:14 PST 2016


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: include/llvm/ADT/STLExtras.h:819
+/// Provide a container algorithm similar to C++ Library Fundamentals v2's
+/// `erase_if` which is equivalent to;
+///
----------------
Typo: colon instead of semi-colon?


https://reviews.llvm.org/D28120





More information about the llvm-commits mailing list