diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2018-04-05 00:18:37 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2018-04-05 00:18:37 +0000 |
| commit | 8f310655af473d7ec1ce4270e7bd98083bd45b9c (patch) | |
| tree | a04bbfe02a85388b6735d43e6fb3ddbffc6c0f45 | |
| parent | 11232912b11b15b91e1f10a8e7decd1fa14d21fc (diff) | |
| download | bcm5719-llvm-8f310655af473d7ec1ce4270e7bd98083bd45b9c.tar.gz bcm5719-llvm-8f310655af473d7ec1ce4270e7bd98083bd45b9c.zip | |
[coroutines] libcxx, noop_coroutine, make bots even more happy
llvm-svn: 329245
| -rw-r--r-- | libcxx/include/experimental/coroutine | 6 | ||||
| -rw-r--r-- | libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/libcxx/include/experimental/coroutine b/libcxx/include/experimental/coroutine index fef5e0857a1..32d55fa57f8 100644 --- a/libcxx/include/experimental/coroutine +++ b/libcxx/include/experimental/coroutine @@ -278,9 +278,9 @@ public: _LIBCPP_CONSTEXPR explicit operator bool() const _NOEXCEPT { return true; } _LIBCPP_CONSTEXPR bool done() const _NOEXCEPT { return false; } - _LIBCPP_CONSTEXPR void operator()() const _NOEXCEPT {} - _LIBCPP_CONSTEXPR void resume() const _NOEXCEPT {} - _LIBCPP_CONSTEXPR void destroy() const _NOEXCEPT {} + _LIBCPP_CONSTEXPR_AFTER_CXX17 void operator()() const _NOEXCEPT {} + _LIBCPP_CONSTEXPR_AFTER_CXX17 void resume() const _NOEXCEPT {} + _LIBCPP_CONSTEXPR_AFTER_CXX17 void destroy() const _NOEXCEPT {} private: friend coroutine_handle<noop_coroutine_promise> noop_coroutine() _NOEXCEPT; diff --git a/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp b/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp index 9682e808b08..030e7af0791 100644 --- a/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp +++ b/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp @@ -9,7 +9,6 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: c++98, c++03, c++11 -// XFAIL: clang-5, clang-6 // UNSUPPORTED: ubsan // <experimental/coroutine> |

