diff options
author | Deniz Evrenci <denizevrenci@gmail.com> | 2023-05-30 16:48:28 +0000 |
---|---|---|
committer | Piotr Zegar <me@piotrzegar.pl> | 2023-05-30 17:48:11 +0000 |
commit | 6219b7c61a942fb8b6d931b4aac021d293cdde4d (patch) | |
tree | 1054550feddad2748c0664d159ac42ea57059bf0 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 6cdc07a701eec08da450be58d6e1b67428a983dd (diff) | |
download | llvm-6219b7c61a942fb8b6d931b4aac021d293cdde4d.zip llvm-6219b7c61a942fb8b6d931b4aac021d293cdde4d.tar.gz llvm-6219b7c61a942fb8b6d931b4aac021d293cdde4d.tar.bz2 |
[clang-tidy] Do not emit bugprone-exception-escape warnings from coroutines
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 #61905.
Reviewed By: PiotrZSL, ChuanqiXu
Differential Revision: https://reviews.llvm.org/D147417
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions