diff options
author | Gor Nishanov <GorNishanov@gmail.com> | 2017-05-22 22:33:17 +0000 |
---|---|---|
committer | Gor Nishanov <GorNishanov@gmail.com> | 2017-05-22 22:33:17 +0000 |
commit | 5b050e4a1836c34b296303d0fbe29de87cffa436 (patch) | |
tree | cbd37fac2e30c362a3b90dfcaf11404de82e2790 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | eb00ee07beff4fab367fa16b8074ba9856469f52 (diff) | |
download | bcm5719-llvm-5b050e4a1836c34b296303d0fbe29de87cffa436.tar.gz bcm5719-llvm-5b050e4a1836c34b296303d0fbe29de87cffa436.zip |
[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
llvm-svn: 303583
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions