forked from OSchip/llvm-project
[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
This commit is contained in:
parent
40fde90193
commit
956892433f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
|
@ -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 */
|
|
@ -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 */
|
|
@ -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 */
|
Loading…
Reference in New Issue