Correcting some CRLFs that snuck in with my previous commit; NFC.

llvm-svn: 317357
This commit is contained in:
Aaron Ballman 2017-11-03 20:05:51 +00:00
parent ecf0e95267
commit 639ea374d6
1 changed files with 6 additions and 6 deletions

View File

@ -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.