[PATCH] D33479: [coroutines] [NFC] Add tests for return_void, unhandled_exception and promise dtor

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 20:40:18 PDT 2017


GorNishanov created this revision.

- Test that coroutine promise destructor is called.
- Test that we call return_void on fallthrough
- Test that we call unhandled exception in a try catch surrounding the body


https://reviews.llvm.org/D33479

Files:
  test/CodeGenCoroutines/Inputs/coroutine.h
  test/CodeGenCoroutines/coro-promise-dtor.cpp
  test/CodeGenCoroutines/coro-ret-void.cpp
  test/CodeGenCoroutines/coro-unhandled-exception.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33479.100034.patch
Type: text/x-patch
Size: 8651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170524/14b851cc/attachment-0001.bin>


More information about the cfe-commits mailing list