[libcxx-commits] [pstl] 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.

Added:
    pstl/trunk/include/__pstl_algorithm
    pstl/trunk/include/__pstl_execution
    pstl/trunk/include/__pstl_memory
    pstl/trunk/include/__pstl_numeric

Added: pstl/trunk/include/__pstl_algorithm
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/include/__pstl_algorithm?rev=368088&view=auto
==============================================================================
--- pstl/trunk/include/__pstl_algorithm (added)
+++ pstl/trunk/include/__pstl_algorithm Tue Aug  6 14:11:24 2019
@@ -0,0 +1,15 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __PSTL_ALGORITHM
+#define __PSTL_ALGORITHM
+
+#include <pstl/internal/glue_algorithm_impl.h>
+
+#endif /* __PSTL_ALGORITHM */

Added: pstl/trunk/include/__pstl_execution
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/include/__pstl_execution?rev=368088&view=auto
==============================================================================
--- pstl/trunk/include/__pstl_execution (added)
+++ pstl/trunk/include/__pstl_execution Tue Aug  6 14:11:24 2019
@@ -0,0 +1,15 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __PSTL_EXECUTION
+#define __PSTL_EXECUTION
+
+#include <pstl/internal/glue_execution_defs.h>
+
+#endif /* __PSTL_EXECUTION */

Added: pstl/trunk/include/__pstl_memory
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/include/__pstl_memory?rev=368088&view=auto
==============================================================================
--- pstl/trunk/include/__pstl_memory (added)
+++ pstl/trunk/include/__pstl_memory Tue Aug  6 14:11:24 2019
@@ -0,0 +1,15 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __PSTL_MEMORY
+#define __PSTL_MEMORY
+
+#include <pstl/internal/glue_memory_impl.h>
+
+#endif /* __PSTL_MEMORY */

Added: pstl/trunk/include/__pstl_numeric
URL: http://llvm.org/viewvc/llvm-project/pstl/trunk/include/__pstl_numeric?rev=368088&view=auto
==============================================================================
--- pstl/trunk/include/__pstl_numeric (added)
+++ pstl/trunk/include/__pstl_numeric Tue Aug  6 14:11:24 2019
@@ -0,0 +1,15 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __PSTL_NUMERIC
+#define __PSTL_NUMERIC
+
+#include <pstl/internal/glue_numeric_impl.h>
+
+#endif /* __PSTL_NUMERIC */




More information about the libcxx-commits mailing list