summaryrefslogtreecommitdiffstats
path: root/libcxx/include/experimental/__memory
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2019-03-26 19:50:46 +0000
committerBrian Gesiak <modocache@gmail.com>2019-03-26 19:50:46 +0000
commitb66754a29ed7a479e36fed89e0b45d10d5e71e71 (patch)
tree759fd580d95d431848d0c5f8176c77b7c5e6705d /libcxx/include/experimental/__memory
parent492f752969ff3a37138372e8e973317dc63ef2d3 (diff)
downloadbcm5719-llvm-b66754a29ed7a479e36fed89e0b45d10d5e71e71.tar.gz
bcm5719-llvm-b66754a29ed7a479e36fed89e0b45d10d5e71e71.zip
Revert "[coroutines] Add std::experimental::task<T> type"
This revision is causing build and test failures, such as http://lab.llvm.org:8011/builders/libcxx-libcxxabi-libunwind-armv8-linux/builds/648/steps/test.libcxx/logs/stdio, so I'll revert it. llvm-svn: 357023
Diffstat (limited to 'libcxx/include/experimental/__memory')
-rw-r--r--libcxx/include/experimental/__memory7
1 files changed, 0 insertions, 7 deletions
diff --git a/libcxx/include/experimental/__memory b/libcxx/include/experimental/__memory
index 6da6bef663a..4cf8978468c 100644
--- a/libcxx/include/experimental/__memory
+++ b/libcxx/include/experimental/__memory
@@ -73,13 +73,6 @@ struct __lfts_uses_alloc_ctor
>
{};
-// Round __s up to next multiple of __a.
-inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR
-size_t __aligned_allocation_size(size_t __s, size_t __a) _NOEXCEPT
-{
- return (__s + __a - 1) & ~(__a - 1);
-}
-
template <class _Tp, class _Alloc, class ..._Args>
inline _LIBCPP_INLINE_VISIBILITY
void __lfts_user_alloc_construct(
OpenPOWER on IntegriCloud