commit | a882e8619ffb19dd808e62f8c0f82ed73d0bff00 | [log] [tgz] |
---|---|---|
author | Gor Nishanov <GorNishanov@gmail.com> | Mon May 22 22:33:17 2017 |
committer | Gor Nishanov <GorNishanov@gmail.com> | Mon May 22 22:33:17 2017 |
tree | 7ec2c1f9b615020ed90f617faf6e121643d4135a | |
parent | ecac99cbb4fc1411a821718d6c254333641c1198 [diff] |
[coroutines] Wrap the body of the coroutine in try-catch Summary: If unhandled_exception member function is present in the coroutine promise, wrap the body of the coroutine in: ``` try { body } catch(...) { promise.unhandled_exception(); } ``` Reviewers: EricWF, rnk, rsmith Reviewed By: rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D31692 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303583 91177308-0d34-0410-b5e6-96231b3b80d8