llvm::remove_if

Provide wrappers to std::remove_if which take ranges instead of having to pass begin/end explicitly.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename R,
    typename UnaryPredicate>
auto
remove_if(
    R&& Range,
    UnaryPredicate P);