[clang] [Clang][P1061] Add stuctured binding packs (PR #121417)

Jason Rice via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 18 10:13:27 PST 2025


================
@@ -1099,6 +1099,13 @@ def err_lambda_capture_misplaced_ellipsis : Error<
   "the name of the capture">;
 def err_lambda_capture_multiple_ellipses : Error<
   "multiple ellipses in pack capture">;
+def err_binding_multiple_ellipses : Error<
+  "multiple packs in structured binding declaration">;
+def note_previous_ellipsis : Note<
+  "previous binding pack specified here">;
+def ext_cxx_binding_pack : ExtWarn<
----------------
ricejasonf wrote:

What warning are we wanting to display in C++26 mode? The `ext_cxx_binding_pack` was added for when we are **not** in C++26 mode right?

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


More information about the cfe-commits mailing list