[all-commits] [llvm/llvm-project] 377257: [Clang] Support initializing structured bindings f...
Yanzuo Liu via All-commits
all-commits at lists.llvm.org
Tue Aug 27 14:18:42 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 377257f063c2b828462499b9e570aed726825064
https://github.com/llvm/llvm-project/commit/377257f063c2b828462499b9e570aed726825064
Author: Yanzuo Liu <zwuis at outlook.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Initialization.h
M clang/lib/Sema/SemaInit.cpp
M clang/test/SemaCXX/cxx1z-decomposition.cpp
Log Message:
-----------
[Clang] Support initializing structured bindings from an array with direct-list-initialization (#102581)
When initializing structured bindings from an array with
direct-list-initialization, array copy will be performed, which is a
special case not following list-initialization.
This PR adds support for this case.
Fixes #31813.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list