diff options
author | Eric Fiselier <eric@efcs.ca> | 2019-04-17 04:31:46 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2019-04-17 04:31:46 +0000 |
commit | c3d6a929fdd92fd06d4304675ade8d7210ee711a (patch) | |
tree | 91cf1ab5110b0eb995948059acffeb284bfdedfe /libcxx/include/experimental | |
parent | b8ec7eee8118d8d5f64370e4619a746ceaf7d6c1 (diff) | |
download | bcm5719-llvm-c3d6a929fdd92fd06d4304675ade8d7210ee711a.tar.gz bcm5719-llvm-c3d6a929fdd92fd06d4304675ade8d7210ee711a.zip |
Fix visibility for coroutine types on Windows
llvm-svn: 358551
Diffstat (limited to 'libcxx/include/experimental')
-rw-r--r-- | libcxx/include/experimental/coroutine | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/experimental/coroutine b/libcxx/include/experimental/coroutine index 13e32625079..e2f0a25f77e 100644 --- a/libcxx/include/experimental/coroutine +++ b/libcxx/include/experimental/coroutine @@ -81,7 +81,7 @@ struct __coroutine_traits_sfinae< }; template <typename _Ret, typename... _Args> -struct _LIBCPP_TEMPLATE_VIS coroutine_traits +struct coroutine_traits : public __coroutine_traits_sfinae<_Ret> { }; @@ -298,7 +298,7 @@ noop_coroutine_handle noop_coroutine() _NOEXCEPT { } #endif // __has_builtin(__builtin_coro_noop) -struct _LIBCPP_TYPE_VIS suspend_never { +struct suspend_never { _LIBCPP_INLINE_VISIBILITY bool await_ready() const _NOEXCEPT { return true; } _LIBCPP_INLINE_VISIBILITY @@ -307,7 +307,7 @@ struct _LIBCPP_TYPE_VIS suspend_never { void await_resume() const _NOEXCEPT {} }; -struct _LIBCPP_TYPE_VIS suspend_always { +struct suspend_always { _LIBCPP_INLINE_VISIBILITY bool await_ready() const _NOEXCEPT { return false; } _LIBCPP_INLINE_VISIBILITY |