1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

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 b071b10879
commit 9583dc1ef1

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.