[clang] [clang] Fix a crash from nested ArrayInitLoopExpr (PR #67722)

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 05:47:22 PDT 2023


================
@@ -370,6 +372,9 @@ Bug Fixes to C++ Support
   argument. Fixes:
   (`#67395 <https://github.com/llvm/llvm-project/issues/67395>`_)
 
+- Fix a bug when destructors in a ``constexpr`` structured binding were
+  called at the wrong place.
----------------
cor3ntin wrote:

```suggestion
- Fixed a bug causing destructors of constant-evaluated structured bindings initialized by array elements to be called in the wrong evaluation context.
```

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


More information about the cfe-commits mailing list