Skip to content

Commit c3d6a92

Browse files
committed
Fix visibility for coroutine types on Windows
llvm-svn: 358551
1 parent b8ec7ee commit c3d6a92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libcxx/include/experimental/coroutine

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ struct __coroutine_traits_sfinae<
8181
};
8282

8383
template <typename _Ret, typename... _Args>
84-
struct _LIBCPP_TEMPLATE_VIS coroutine_traits
84+
struct coroutine_traits
8585
: public __coroutine_traits_sfinae<_Ret>
8686
{
8787
};
@@ -298,7 +298,7 @@ noop_coroutine_handle noop_coroutine() _NOEXCEPT {
298298
}
299299
#endif // __has_builtin(__builtin_coro_noop)
300300

301-
struct _LIBCPP_TYPE_VIS suspend_never {
301+
struct suspend_never {
302302
_LIBCPP_INLINE_VISIBILITY
303303
bool await_ready() const _NOEXCEPT { return true; }
304304
_LIBCPP_INLINE_VISIBILITY
@@ -307,7 +307,7 @@ struct _LIBCPP_TYPE_VIS suspend_never {
307307
void await_resume() const _NOEXCEPT {}
308308
};
309309

310-
struct _LIBCPP_TYPE_VIS suspend_always {
310+
struct suspend_always {
311311
_LIBCPP_INLINE_VISIBILITY
312312
bool await_ready() const _NOEXCEPT { return false; }
313313
_LIBCPP_INLINE_VISIBILITY

0 commit comments

Comments
 (0)