[libcxx-commits] [PATCH] D59117: Configuration needs to come from <execution>, <algorithm>, etc.

Thomas Rodgers via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 7 16:12:39 PST 2019


rodgert created this revision.
Herald added a reviewer: ldionne.
Herald added subscribers: libcxx-commits, jdoerfert.

Directly including pstl_config.h in implementation files is
incompatible with inclusion into a standard library implementation,
which will have it's own config.h.


Repository:
  rPSTL pstl

https://reviews.llvm.org/D59117

Files:
  include/pstl/internal/numeric_impl.h
  include/pstl/internal/unseq_backend_simd.h


Index: include/pstl/internal/unseq_backend_simd.h
===================================================================
--- include/pstl/internal/unseq_backend_simd.h
+++ include/pstl/internal/unseq_backend_simd.h
@@ -12,7 +12,6 @@
 
 #include <type_traits>
 
-#include "pstl_config.h"
 #include "utils.h"
 
 // This header defines the minimum set of vector routines required
Index: include/pstl/internal/numeric_impl.h
===================================================================
--- include/pstl/internal/numeric_impl.h
+++ include/pstl/internal/numeric_impl.h
@@ -14,7 +14,6 @@
 #include <type_traits>
 #include <numeric>
 
-#include "pstl_config.h"
 #include "execution_impl.h"
 #include "unseq_backend_simd.h"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59117.189798.patch
Type: text/x-patch
Size: 722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190308/bc7b520b/attachment.bin>


More information about the libcxx-commits mailing list