[clang] [Clang] Support initializing array-typed structured bindings with direct-list-initialization (PR #102581)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 00:44:35 PDT 2024


================
@@ -1384,6 +1384,11 @@ class InitializationSequence {
 
   void AddParenthesizedListInitStep(QualType T);
 
+  /// Only used when initializing array-typed structured bindings with
+  /// direct-list-initialization. Unwrap the initializer list to get the array
+  /// for array copy.
----------------
cor3ntin wrote:

```suggestion
  /// Only used when initializing structured bindings from an array with
  /// direct-list-initialization. Unwrap the initializer list to get the array
  /// for array copy.
```

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


More information about the cfe-commits mailing list