[PATCH] D108905: [ItaniumCXXABI] Add -fassume-nothrow-exception-dtor to assume that all exception objects' destructors are non-throwing
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 1 22:35:06 PDT 2023
ChuanqiXu accepted this revision.
ChuanqiXu added a comment.
LGTM. Thanks.
================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:1110
+ !FT->isNothrow())
+ Diag(ThrowLoc, diag::err_throw_object_throwing_dtor) << Ty << 1 << 1;
+ }
----------------
It looks like err_throw_object_throwing_dtor doesn't require any parameters?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108905/new/
https://reviews.llvm.org/D108905
More information about the cfe-commits
mailing list