[PATCH] D45121: [coroutines] Add noop_coroutine to <experimental/coroutine>

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 4 10:02:29 PDT 2018


GorNishanov updated this revision to Diff 140983.
GorNishanov marked 2 inline comments as done.
GorNishanov added a comment.

- static_cast instead of reintrepret_cast in promise()
- 2 spaces indent in added code (the rest of the file stayed as is)
- added static_assert to check for done-ness and capacity
- constexpr => _LIBCPP_CONSTEXPR
- noexcept => _NOEXCEPT


https://reviews.llvm.org/D45121

Files:
  include/experimental/coroutine
  test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.noop/noop_coroutine.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45121.140983.patch
Type: text/x-patch
Size: 4163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180404/393c0501/attachment-0001.bin>


More information about the cfe-commits mailing list