[libcxx-commits] [libcxx] r368088 - [pstl][libc++] Provide uglified header names for interface headers

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 6 14:11:24 PDT 2019


Author: ldionne
Date: Tue Aug  6 14:11:24 2019
New Revision: 368088

URL: http://llvm.org/viewvc/llvm-project?rev=368088&view=rev
Log:
[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.

Modified:
    libcxx/trunk/include/algorithm
    libcxx/trunk/include/execution
    libcxx/trunk/include/memory
    libcxx/trunk/include/numeric

Modified: libcxx/trunk/include/algorithm
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/algorithm?rev=368088&r1=368087&r2=368088&view=diff
==============================================================================
--- libcxx/trunk/include/algorithm (original)
+++ libcxx/trunk/include/algorithm Tue Aug  6 14:11:24 2019
@@ -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

Modified: libcxx/trunk/include/execution
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/execution?rev=368088&r1=368087&r2=368088&view=diff
==============================================================================
--- libcxx/trunk/include/execution (original)
+++ libcxx/trunk/include/execution Tue Aug  6 14:11:24 2019
@@ -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

Modified: libcxx/trunk/include/memory
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=368088&r1=368087&r2=368088&view=diff
==============================================================================
--- libcxx/trunk/include/memory (original)
+++ libcxx/trunk/include/memory Tue Aug  6 14:11:24 2019
@@ -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

Modified: libcxx/trunk/include/numeric
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/numeric?rev=368088&r1=368087&r2=368088&view=diff
==============================================================================
--- libcxx/trunk/include/numeric (original)
+++ libcxx/trunk/include/numeric Tue Aug  6 14:11:24 2019
@@ -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




More information about the libcxx-commits mailing list