[clang] [C++20] Deleting destructors can be noexcept (PR #118687)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 11:45:24 PST 2024


================
@@ -654,6 +654,9 @@ Bug Fixes in This Version
 - Fixed a crash when GNU statement expression contains invalid statement (#GH113468).
 - Fixed a failed assertion when using ``__attribute__((noderef))`` on an
   ``_Atomic``-qualified type (#GH116124).
+- No longer return ``false`` for ``noexcept`` expressions involving a
+  ``delete`` which resolves to a destroying delete but the type of the object
+  being deleted as a potentially throwing destructor (#GH118660).
----------------
zygoloid wrote:

```suggestion
  being deleted has a potentially throwing destructor (#GH118660).
```
Typo?

https://github.com/llvm/llvm-project/pull/118687


More information about the cfe-commits mailing list