OSDN Git Service

Correcting some CRLFs that snuck in with my previous commit; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Fri, 3 Nov 2017 20:05:51 +0000 (20:05 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 3 Nov 2017 20:05:51 +0000 (20:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317357 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/STLExtras.h

index c42d976..1be5bf9 100644 (file)
@@ -813,12 +813,12 @@ void DeleteContainerSeconds(Container &C) {
   C.clear();
 }
 
-/// Provide wrappers to std::for_each which take ranges instead of having to\r
-/// pass begin/end explicitly.\r
-template <typename R, typename UnaryPredicate>\r
-UnaryPredicate for_each(R &&Range, UnaryPredicate P) {\r
-  return std::for_each(std::begin(Range), std::end(Range), P);\r
-}\r
+/// 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.