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

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 17 16:04:59 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 ellipses in structured binding declaration">;
+def note_previous_ellipsis : Note<
+  "previous ellipsis specified here">;
----------------
zygoloid wrote:

It seems a little strange to talk about ellipses rather than packs here. Maybe "multiple binding packs in [...]" instead?

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


More information about the cfe-commits mailing list