John McCall
a30d91e3cb
Implement vararg expansion well enough to support argument forwarding.
...
I needed this for materializeForSet remission, but it makes inherited
variadic initializers work, too.
I tried to make this a reasonable starting point for a real language
feature. Here's what's still missing:
- syntax
- semantic restrictions to ensure that the expression isn't written in
invalid places or arbitrarily converted
- SILGen support for expansions that aren't the only variadic argument
rdar://16331406
2018-08-22 06:46:08 -04:00
..
2018-07-23 18:59:58 -04:00
2018-08-15 11:01:12 -07:00
2018-08-16 10:30:30 -07:00
2018-07-04 16:54:59 -07:00
2018-07-04 16:56:26 -07:00
2018-08-16 02:13:54 -04:00
2018-08-10 10:23:40 -07:00
2018-06-22 00:01:55 -07:00
2018-06-26 13:48:13 -07:00
2018-07-05 02:48:41 -04:00
2018-06-30 05:19:03 -04:00
2018-08-07 09:54:35 +10:00
2018-07-05 11:49:26 -07:00
2018-08-16 10:30:30 -07:00
2018-06-12 16:44:11 -07:00
2018-06-12 16:44:11 -07:00
2018-08-20 14:00:46 -07:00
2018-03-12 13:57:36 +09:00
2018-03-26 01:13:45 -04:00
2018-08-06 11:41:28 -07:00
2018-06-04 16:40:45 -07:00
2018-05-02 10:55:43 -07:00
2018-05-02 13:39:21 -07:00
2018-08-21 18:22:59 -07:00
2018-08-17 14:05:24 -07:00
2018-04-24 21:24:48 -04:00
2018-08-09 11:06:22 -07:00
2018-08-06 18:00:17 -07:00
2018-06-12 17:49:25 -07:00
2018-07-31 15:11:52 -07:00
2018-08-17 04:16:20 -07:00
2018-07-30 11:24:09 -07:00
2018-07-31 13:16:14 -07:00
2018-08-20 14:00:46 -07:00
2018-08-22 06:46:08 -04:00
2018-08-20 02:51:44 -04:00
2018-08-15 16:02:48 -07:00
2018-07-26 19:41:58 -07:00
2018-08-22 06:46:08 -04:00
2018-08-22 06:46:08 -04:00
2018-05-11 21:43:40 -07:00
2018-08-09 19:43:15 -07:00
2018-08-09 11:58:19 -07:00
2018-07-13 16:56:03 -07:00
2018-07-22 20:56:56 -07:00
2018-07-30 18:38:47 -07:00
2018-04-03 11:21:36 -07:00
2018-07-13 11:02:04 -07:00
2018-03-09 00:22:55 -05:00
2018-04-18 11:25:11 -04:00
2018-06-18 12:02:23 -07:00
2018-03-12 13:57:36 +09:00
2018-08-20 10:33:23 -07:00
2018-08-14 11:32:55 -07:00
2018-08-17 14:05:24 -07:00
2018-07-19 13:03:30 -07:00
2018-08-06 10:07:16 -07:00
2018-08-15 11:01:12 -07:00
2018-08-13 19:03:35 -07:00
2018-07-11 14:33:23 -04:00
2018-08-11 03:29:16 -07:00
2018-05-01 08:29:06 +10:00
2018-06-14 13:55:52 -07:00
2018-08-16 17:59:24 -07:00
2018-07-16 16:44:27 -07:00
2018-07-16 16:44:27 -07:00
2018-08-06 17:04:47 -07:00
2018-06-30 06:44:33 -04:00
2018-05-19 00:45:36 -07:00
2018-07-31 13:16:14 -07:00
2018-07-29 20:15:51 -07:00
2018-08-15 11:01:12 -07:00
2018-07-23 18:59:58 -04:00
2018-07-23 18:59:58 -04:00
2018-08-16 02:13:54 -04:00
2018-07-31 16:59:56 -07:00
2018-05-19 01:09:17 -07:00
2018-05-11 21:43:40 -07:00
2018-07-18 14:50:39 -07:00
2018-08-15 11:01:12 -07:00
2018-06-14 15:29:57 -07:00
2018-06-11 17:29:29 -07:00
2018-06-30 06:44:33 -04:00
2018-06-12 16:44:11 -07:00
2018-06-13 18:41:20 -07:00
2018-03-08 12:36:24 +11:00
2018-08-20 14:21:52 -07:00
2018-08-18 01:54:17 -04:00
2018-05-11 21:43:40 -07:00