[clang] [clang] Fixed Constant Evaluation don't Call Destructor (PR #140278)
via cfe-commits
cfe-commits at lists.llvm.org
Mon May 19 16:18:28 PDT 2025
================
@@ -623,6 +623,7 @@ Bug Fixes in This Version
- Fix crash due to unknown references and pointer implementation and handling of
base classes. (GH139452)
- Fixed an assertion failure in serialization of constexpr structs containing unions. (#GH140130)
+- Fix constant evaluation in for loop not calling destructor (#GH139818)
----------------
Sirraide wrote:
```suggestion
- Constant evaluation now correctly runs the destructor of a variable declared in
the second clause of a C-style ``for`` loop. (#GH139818)
```
https://github.com/llvm/llvm-project/pull/140278
More information about the cfe-commits
mailing list