aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorXun Li <xun@fb.com>2020-06-23 15:06:18 -0700
committerXun Li <xun@fb.com>2020-06-25 10:49:50 -0700
commit366159566df3a980d3e34f3ec9609e77cdb4df8b (patch)
tree8099e735695df7720af1ae07c52e7a3ed89f7724 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent63a89693f09f6b24ce4f2350d828150bd9c4f3e8 (diff)
downloadllvm-366159566df3a980d3e34f3ec9609e77cdb4df8b.zip
llvm-366159566df3a980d3e34f3ec9609e77cdb4df8b.tar.gz
llvm-366159566df3a980d3e34f3ec9609e77cdb4df8b.tar.bz2
[Coroutines] Special handle __builtin_coro_resume for final_suspend nothrow check
Summary: In https://reviews.llvm.org/D82029 we added the conformance check that the expression co_await promise.final_suspend() should not potentially throw. As part of this expression, in cases when the await_suspend() method of the final suspend awaiter returns a handle, __builtin_coro_resume could be called on the handle to immediately resume that coroutine. __builtin_coro_resume is not declared with noexcept and it shouldn't. We need to special check this case here. Reviewers: modocache, lewissbaker, junparser Reviewed By: lewissbaker Subscribers: modocache, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82415
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions