summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDeniz Evrenci <denizevrenci@gmail.com>2023-02-28 11:36:46 +0100
committerNikita Popov <npopov@redhat.com>2023-02-28 11:41:07 +0100
commitf332498f9880d276890562fb861a375a13bfd9d9 (patch)
treecb3ace526af4ee9873889397ab02171bc457d298 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentc34936465c5648f825414fe76ccad7a9ad82dddd (diff)
[Clang] Do not emit exception diagnostics from coroutines and coroutine lambdas
All exceptions thrown in coroutine bodies are caught and unhandled_exception member of the coroutine promise type is called. In accordance with the existing rules of diagnostics related to exceptions thrown in functions marked noexcept, even if the promise type's constructor, get_return_object, or unhandled_exception throws, diagnostics should not be emitted. Fixes #48797. Differential Revision: https://reviews.llvm.org/D144352
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions