[clang] [clang] fix infinite recursion (PR #143244)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 10 09:47:58 PDT 2025


================
@@ -695,6 +695,7 @@ Bug Fixes in This Version
 - Fixed type mismatch error when 'builtin-elementwise-math' arguments have different qualifiers, this should be well-formed. (#GH141397)
 - Constant evaluation now correctly runs the destructor of a variable declared in
   the second clause of a C-style ``for`` loop. (#GH139818)
+- Fixed an infinite recursion about defaulted constexpr dtor. (#GH141789)
----------------
Sirraide wrote:

```suggestion
- Fixed an infinite recursion when checking constexpr destructors. (#GH141789)
```
(this note doesn’t need to be too precise but this is a bit nicer I’d say)

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


More information about the cfe-commits mailing list