summaryrefslogtreecommitdiff
path: root/pstl/include
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-08-06 21:11:24 +0000
committerLouis Dionne <ldionne@apple.com>2019-08-06 21:11:24 +0000
commit956892433f7c0ae4520232b07d442fedbcc14cb2 (patch)
tree53f3c88cab9f650348b9dc74a5aa2bdb1444009a /pstl/include
parent40fde901932726518feb24391138e65b093b7a15 (diff)
downloadllvm-956892433f7c0ae4520232b07d442fedbcc14cb2.tar.gz
[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. llvm-svn: 368088
Diffstat (limited to 'pstl/include')
-rw-r--r--pstl/include/__pstl_algorithm15
-rw-r--r--pstl/include/__pstl_execution15
-rw-r--r--pstl/include/__pstl_memory15
-rw-r--r--pstl/include/__pstl_numeric15
4 files changed, 60 insertions, 0 deletions
diff --git a/pstl/include/__pstl_algorithm b/pstl/include/__pstl_algorithm
new file mode 100644
index 000000000000..79c18385c5a5
--- /dev/null
+++ b/pstl/include/__pstl_algorithm
@@ -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 */
diff --git a/pstl/include/__pstl_execution b/pstl/include/__pstl_execution
new file mode 100644
index 000000000000..0e2cd44561cd
--- /dev/null
+++ b/pstl/include/__pstl_execution
@@ -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 */
diff --git a/pstl/include/__pstl_memory b/pstl/include/__pstl_memory
new file mode 100644
index 000000000000..12b7f5aa3c04
--- /dev/null
+++ b/pstl/include/__pstl_memory
@@ -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 */
diff --git a/pstl/include/__pstl_numeric b/pstl/include/__pstl_numeric
new file mode 100644
index 000000000000..cf168ef7053b
--- /dev/null
+++ b/pstl/include/__pstl_numeric
@@ -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 */