File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -269,6 +269,8 @@ Bug Fixes in This Version
269
269
- Fixes crash when trying to obtain the common sugared type of
270
270
`decltype(instantiation-dependent-expr) `.
271
271
Fixes (`#67603 <https://github.com/llvm/llvm-project/issues/67603 >`_)
272
+ - Fixes a crash caused by a multidimensional array being captured by a lambda
273
+ (`#67722 <https://github.com/llvm/llvm-project/issues/67722 >`_).
272
274
273
275
Bug Fixes to Compiler Builtins
274
276
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -370,6 +372,9 @@ Bug Fixes to C++ Support
370
372
argument. Fixes:
371
373
(`#67395 <https://github.com/llvm/llvm-project/issues/67395 >`_)
372
374
375
+ - Fix a bug when destructors in a ``constexpr `` structured binding were
376
+ called at the wrong place.
377
+
373
378
Bug Fixes to AST Handling
374
379
^^^^^^^^^^^^^^^^^^^^^^^^^
375
380
- Fixed an import failure of recursive friend class template.
Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify %s
2
- // RUN: %clang_cc1 -verify=ref -DCUR_INTERP %s
2
+ // RUN: %clang_cc1 -verify=ref %s
3
3
4
4
constexpr int m = 3 ;
5
5
constexpr const int *foo[][5 ] = {
@@ -352,10 +352,6 @@ namespace ZeroInit {
352
352
}
353
353
354
354
namespace ArrayInitLoop {
355
- // / FIXME: The ArrayInitLoop for the decomposition initializer in g() has
356
- // / f(n) as its CommonExpr. We need to evaluate that exactly once and not
357
- // / N times as we do right now.
358
- #ifndef CUR_INTERP
359
355
struct X {
360
356
int arr[3 ];
361
357
};
@@ -369,5 +365,4 @@ namespace ArrayInitLoop {
369
365
}
370
366
static_assert (g() == 6 ); // expected-error {{failed}} \
371
367
// expected-note {{15 == 6}}
372
- #endif
373
368
}
You can’t perform that action at this time.
0 commit comments