forked from OSchip/llvm-project
Correcting some CRLFs that snuck in with my previous commit; NFC.
llvm-svn: 317357
This commit is contained in:
parent
ecf0e95267
commit
639ea374d6
|
@ -813,12 +813,12 @@ void DeleteContainerSeconds(Container &C) {
|
||||||
C.clear();
|
C.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide wrappers to std::for_each which take ranges instead of having to
|
/// Provide wrappers to std::for_each which take ranges instead of having to
|
||||||
/// pass begin/end explicitly.
|
/// pass begin/end explicitly.
|
||||||
template <typename R, typename UnaryPredicate>
|
template <typename R, typename UnaryPredicate>
|
||||||
UnaryPredicate for_each(R &&Range, UnaryPredicate P) {
|
UnaryPredicate for_each(R &&Range, UnaryPredicate P) {
|
||||||
return std::for_each(std::begin(Range), std::end(Range), P);
|
return std::for_each(std::begin(Range), std::end(Range), P);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Provide wrappers to std::all_of which take ranges instead of having to pass
|
/// Provide wrappers to std::all_of which take ranges instead of having to pass
|
||||||
/// begin/end explicitly.
|
/// begin/end explicitly.
|
||||||
|
|
Loading…
Reference in New Issue