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();
|
||||
}
|
||||
|
||||
/// Provide wrappers to std::for_each which take ranges instead of having to
|
||||
/// pass begin/end explicitly.
|
||||
template <typename R, typename UnaryPredicate>
|
||||
UnaryPredicate for_each(R &&Range, UnaryPredicate P) {
|
||||
return std::for_each(std::begin(Range), std::end(Range), P);
|
||||
}
|
||||
/// Provide wrappers to std::for_each which take ranges instead of having to
|
||||
/// pass begin/end explicitly.
|
||||
template <typename R, typename UnaryPredicate>
|
||||
UnaryPredicate for_each(R &&Range, UnaryPredicate 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
|
||||
/// begin/end explicitly.
|
||||
|
|
Loading…
Reference in New Issue