[llvm] r317357 - Correcting some CRLFs that snuck in with my previous commit; NFC.

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 13:05:51 PDT 2017


Author: aaronballman
Date: Fri Nov  3 13:05:51 2017
New Revision: 317357

URL: http://llvm.org/viewvc/llvm-project?rev=317357&view=rev
Log:
Correcting some CRLFs that snuck in with my previous commit; NFC.

Modified:
    llvm/trunk/include/llvm/ADT/STLExtras.h

Modified: llvm/trunk/include/llvm/ADT/STLExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/STLExtras.h?rev=317357&r1=317356&r2=317357&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/STLExtras.h (original)
+++ llvm/trunk/include/llvm/ADT/STLExtras.h Fri Nov  3 13:05:51 2017
@@ -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.




More information about the llvm-commits mailing list