Browse Source

[pstl][libc++] Provide uglified header names for interface headers

For the few (currently four) headers that make up the PSTL's interface
to other Standard Libraries, provide a stable uglified header file that
can be included by those Standard Libraries.

We can then more easily change the internal organization of the PSTL
without having to change the integration with Standard Libraries.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@368088 91177308-0d34-0410-b5e6-96231b3b80d8
Louis Dionne 6 years ago
parent
commit
af16e881aa
4 changed files with 4 additions and 4 deletions
  1. 1 1
      include/algorithm
  2. 1 1
      include/execution
  3. 1 1
      include/memory
  4. 1 1
      include/numeric

+ 1 - 1
include/algorithm

@@ -5679,7 +5679,7 @@ _LIBCPP_END_NAMESPACE_STD
 _LIBCPP_POP_MACROS
 
 #if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17
-#   include <pstl/internal/glue_algorithm_impl.h>
+#   include <__pstl_algorithm>
 #endif
 
 #endif  // _LIBCPP_ALGORITHM

+ 1 - 1
include/execution

@@ -13,7 +13,7 @@
 #include <__config>
 
 #if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17
-#   include <pstl/internal/glue_execution_defs.h>
+#   include <__pstl_execution>
 #endif
 
 #endif // _LIBCPP_EXECUTION

+ 1 - 1
include/memory

@@ -5591,7 +5591,7 @@ _LIBCPP_END_NAMESPACE_STD
 _LIBCPP_POP_MACROS
 
 #if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17
-#   include <pstl/internal/glue_memory_impl.h>
+#   include <__pstl_memory>
 #endif
 
 #endif  // _LIBCPP_MEMORY

+ 1 - 1
include/numeric

@@ -587,7 +587,7 @@ _LIBCPP_END_NAMESPACE_STD
 _LIBCPP_POP_MACROS
 
 #if defined(_LIBCPP_HAS_PARALLEL_ALGORITHMS) && _LIBCPP_STD_VER >= 17
-#   include <pstl/internal/glue_numeric_impl.h>
+#   include <__pstl_numeric>
 #endif
 
 #endif  // _LIBCPP_NUMERIC