<div dir="ltr">clang-format all the things!<div><br></div><div>Thanks Louis.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 1:09 PM Louis Dionne via libcxx-commits <<a href="mailto:libcxx-commits@lists.llvm.org">libcxx-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Author: ldionne<br>
Date: Thu Aug  8 10:10:45 2019<br>
New Revision: 368312<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=368312&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=368312&view=rev</a><br>
Log:<br>
[NFC][pstl] Run clang-format<br>
<br>
We really need to do that consistently when applying patches.<br>
<br>
Modified:<br>
    pstl/trunk/include/pstl/internal/glue_memory_impl.h<br>
<br>
Modified: pstl/trunk/include/pstl/internal/glue_memory_impl.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/pstl/trunk/include/pstl/internal/glue_memory_impl.h?rev=368312&r1=368311&r2=368312&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/pstl/trunk/include/pstl/internal/glue_memory_impl.h?rev=368312&r1=368311&r2=368312&view=diff</a><br>
==============================================================================<br>
--- pstl/trunk/include/pstl/internal/glue_memory_impl.h (original)<br>
+++ pstl/trunk/include/pstl/internal/glue_memory_impl.h Thu Aug  8 10:10:45 2019<br>
@@ -48,12 +48,12 @@ uninitialized_copy(_ExecutionPolicy&& __<br>
                 __is_parallel);<br>
         },<br>
         [&]() {<br>
-            return __pstl::__internal::__pattern_walk2(<br>
-                std::forward<_ExecutionPolicy>(__exec), __first, __last, __result,<br>
-                [](_ReferenceType1 __val1, _ReferenceType2 __val2) {<br>
-                    ::new (std::addressof(__val2)) _ValueType2(__val1);<br>
-                },<br>
-                __is_vector, __is_parallel);<br>
+            return __pstl::__internal::__pattern_walk2(std::forward<_ExecutionPolicy>(__exec), __first, __last,<br>
+                                                       __result,<br>
+                                                       [](_ReferenceType1 __val1, _ReferenceType2 __val2) {<br>
+                                                           ::new (std::addressof(__val2)) _ValueType2(__val1);<br>
+                                                       },<br>
+                                                       __is_vector, __is_parallel);<br>
         });<br>
 }<br>
<br>
@@ -82,12 +82,11 @@ uninitialized_copy_n(_ExecutionPolicy&&<br>
                 __is_parallel);<br>
         },<br>
         [&]() {<br>
-            return __pstl::__internal::__pattern_walk2_n(<br>
-                std::forward<_ExecutionPolicy>(__exec), __first, __n, __result,<br>
-                [](_ReferenceType1 __val1, _ReferenceType2 __val2) {<br>
-                    ::new (std::addressof(__val2)) _ValueType2(__val1);<br>
-                },<br>
-                __is_vector, __is_parallel);<br>
+            return __pstl::__internal::__pattern_walk2_n(std::forward<_ExecutionPolicy>(__exec), __first, __n, __result,<br>
+                                                         [](_ReferenceType1 __val1, _ReferenceType2 __val2) {<br>
+                                                             ::new (std::addressof(__val2)) _ValueType2(__val1);<br>
+                                                         },<br>
+                                                         __is_vector, __is_parallel);<br>
         });<br>
 }<br>
<br>
@@ -152,12 +151,12 @@ uninitialized_move_n(_ExecutionPolicy&&<br>
                 __is_parallel);<br>
         },<br>
         [&]() {<br>
-            return __pstl::__internal::__pattern_walk2_n(<br>
-                std::forward<_ExecutionPolicy>(__exec), __first, __n, __result,<br>
-                [](_ReferenceType1 __val1, _ReferenceType2 __val2) {<br>
-                    ::new (std::addressof(__val2)) _ValueType2(std::move(__val1));<br>
-                },<br>
-                __is_vector, __is_parallel);<br>
+            return __pstl::__internal::__pattern_walk2_n(std::forward<_ExecutionPolicy>(__exec), __first, __n, __result,<br>
+                                                         [](_ReferenceType1 __val1, _ReferenceType2 __val2) {<br>
+                                                             ::new (std::addressof(__val2))<br>
+                                                                 _ValueType2(std::move(__val1));<br>
+                                                         },<br>
+                                                         __is_vector, __is_parallel);<br>
         });<br>
 }<br>
<br>
@@ -238,9 +237,9 @@ destroy(_ExecutionPolicy&& __exec, _Forw<br>
         __pstl::__internal::__is_vectorization_preferred<_ExecutionPolicy, _ForwardIterator>(__exec);<br>
<br>
     __pstl::__internal::__invoke_if_not(std::is_trivially_destructible<_ValueType>(), [&]() {<br>
-        __pstl::__internal::__pattern_walk1(<br>
-            std::forward<_ExecutionPolicy>(__exec), __first, __last, [](_ReferenceType __val) { __val.~_ValueType(); },<br>
-            __is_vector, __is_parallel);<br>
+        __pstl::__internal::__pattern_walk1(std::forward<_ExecutionPolicy>(__exec), __first, __last,<br>
+                                            [](_ReferenceType __val) { __val.~_ValueType(); }, __is_vector,<br>
+                                            __is_parallel);<br>
     });<br>
 }<br>
<br>
@@ -259,9 +258,9 @@ destroy_n(_ExecutionPolicy&& __exec, _Fo<br>
     return __pstl::__internal::__invoke_if_else(<br>
         std::is_trivially_destructible<_ValueType>(), [&]() { return std::next(__first, __n); },<br>
         [&]() {<br>
-            return __pstl::__internal::__pattern_walk1_n(<br>
-                std::forward<_ExecutionPolicy>(__exec), __first, __n, [](_ReferenceType __val) { __val.~_ValueType(); },<br>
-                __is_vector, __is_parallel);<br>
+            return __pstl::__internal::__pattern_walk1_n(std::forward<_ExecutionPolicy>(__exec), __first, __n,<br>
+                                                         [](_ReferenceType __val) { __val.~_ValueType(); }, __is_vector,<br>
+                                                         __is_parallel);<br>
         });<br>
 }<br>
<br>
@@ -280,9 +279,9 @@ uninitialized_default_construct(_Executi<br>
         __pstl::__internal::__is_vectorization_preferred<_ExecutionPolicy, _ForwardIterator>(__exec);<br>
<br>
     __pstl::__internal::__invoke_if_not(std::is_trivial<_ValueType>(), [&]() {<br>
-        __pstl::__internal::__pattern_walk1(<br>
-            std::forward<_ExecutionPolicy>(__exec), __first, __last,<br>
-            [](_ReferenceType __val) { ::new (std::addressof(__val)) _ValueType; }, __is_vector, __is_parallel);<br>
+        __pstl::__internal::__pattern_walk1(std::forward<_ExecutionPolicy>(__exec), __first, __last,<br>
+                                            [](_ReferenceType __val) { ::new (std::addressof(__val)) _ValueType; },<br>
+                                            __is_vector, __is_parallel);<br>
     });<br>
 }<br>
<br>
@@ -324,12 +323,12 @@ uninitialized_value_construct(_Execution<br>
     __pstl::__internal::__invoke_if_else(<br>
         std::is_trivial<_ValueType>(),<br>
         [&]() {<br>
-            __pstl::__internal::__pattern_walk_brick(<br>
-                std::forward<_ExecutionPolicy>(__exec), __first, __last,<br>
-                [__is_vector](_ForwardIterator __begin, _ForwardIterator __end) {<br>
-                    __pstl::__internal::__brick_fill(__begin, __end, _ValueType(), __is_vector);<br>
-                },<br>
-                __is_parallel);<br>
+            __pstl::__internal::__pattern_walk_brick(std::forward<_ExecutionPolicy>(__exec), __first, __last,<br>
+                                                     [__is_vector](_ForwardIterator __begin, _ForwardIterator __end) {<br>
+                                                         __pstl::__internal::__brick_fill(__begin, __end, _ValueType(),<br>
+                                                                                          __is_vector);<br>
+                                                     },<br>
+                                                     __is_parallel);<br>
         },<br>
         [&]() {<br>
             __pstl::__internal::__pattern_walk1(<br>
@@ -353,12 +352,12 @@ uninitialized_value_construct_n(_Executi<br>
     return __pstl::__internal::__invoke_if_else(<br>
         std::is_trivial<_ValueType>(),<br>
         [&]() {<br>
-            return __pstl::__internal::__pattern_walk_brick_n(<br>
-                std::forward<_ExecutionPolicy>(__exec), __first, __n,<br>
-                [__is_vector](_ForwardIterator __begin, _Size __count) {<br>
-                    return __pstl::__internal::__brick_fill_n(__begin, __count, _ValueType(), __is_vector);<br>
-                },<br>
-                __is_parallel);<br>
+            return __pstl::__internal::__pattern_walk_brick_n(std::forward<_ExecutionPolicy>(__exec), __first, __n,<br>
+                                                              [__is_vector](_ForwardIterator __begin, _Size __count) {<br>
+                                                                  return __pstl::__internal::__brick_fill_n(<br>
+                                                                      __begin, __count, _ValueType(), __is_vector);<br>
+                                                              },<br>
+                                                              __is_parallel);<br>
         },<br>
         [&]() {<br>
             return __pstl::__internal::__pattern_walk1_n(<br>
<br>
<br>
_______________________________________________<br>
libcxx-commits mailing list<br>
<a href="mailto:libcxx-commits@lists.llvm.org" target="_blank">libcxx-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits</a><br>
</blockquote></div>