[libcxx] r329245 - [coroutines] libcxx, noop_coroutine, make bots even more happy
Gor Nishanov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 4 17:18:37 PDT 2018
Author: gornishanov
Date: Wed Apr 4 17:18:37 2018
New Revision: 329245
URL: http://llvm.org/viewvc/llvm-project?rev=329245&view=rev
Log:
[coroutines] libcxx, noop_coroutine, make bots even more happy
Modified:
libcxx/trunk/include/experimental/coroutine
libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
Modified: libcxx/trunk/include/experimental/coroutine
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/experimental/coroutine?rev=329245&r1=329244&r2=329245&view=diff
==============================================================================
--- libcxx/trunk/include/experimental/coroutine (original)
+++ libcxx/trunk/include/experimental/coroutine Wed Apr 4 17:18:37 2018
@@ -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;
Modified: libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp?rev=329245&r1=329244&r2=329245&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp Wed Apr 4 17:18:37 2018
@@ -9,7 +9,6 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11
-// XFAIL: clang-5, clang-6
// UNSUPPORTED: ubsan
// <experimental/coroutine>
More information about the cfe-commits
mailing list