Younan Zhang
154c7c0bf2
[Clang] Don't add top-level const qualifiers to captured function types ( #118050 )
...
This aligns with the logic in `TreeTransform::RebuildQualifiedType()`
where we refrain from adding const qualifiers to function types.
Previously, we seemed to overlook this edge case when copy-capturing a
variable that is of function type within a const-qualified lambda.
This issue also reveals other related problems as in incorrect type
printout and a suspicious implementation in DeduceTemplateArguments. I
decide to leave them in follow-up work.
Fixes #84961
2024-12-04 15:31:15 +08:00
..
2024-11-29 17:38:59 -06:00
2024-08-07 21:01:24 +01:00
2024-08-30 16:18:46 -05:00
2024-12-04 05:21:07 +08:00
2024-11-15 15:15:50 -08:00
2024-11-11 08:55:46 +01:00
2024-11-04 11:43:20 +00:00
2024-05-13 12:03:39 +05:30
2024-06-20 15:54:25 -07:00
2024-06-20 15:54:25 -07:00
2024-12-03 09:03:51 -08:00
2024-11-28 22:00:23 -08:00
2024-10-30 16:02:34 -07:00
2024-07-22 18:20:14 -05:00
2024-05-09 17:14:43 -04:00
2024-10-11 17:28:44 -04:00
2024-10-31 09:39:55 -05:00
2024-10-07 11:00:54 -04:00
2024-09-19 16:33:12 +02:00
2024-11-16 07:34:20 +01:00
2024-09-09 21:13:29 +02:00
2024-10-29 08:05:33 +01:00
2024-10-08 09:22:10 -07:00
2024-11-11 08:55:46 +01:00
2024-11-13 10:35:22 +01:00
2024-11-20 08:33:05 -05:00
2024-12-03 13:39:17 -05:00
2024-11-15 15:15:50 -08:00
2024-12-02 13:59:55 +08:00
2024-04-29 22:14:22 +09:00
2024-10-07 11:00:54 -04:00
2024-10-08 09:22:10 -07:00
2024-07-19 18:04:39 -07:00
2024-10-07 09:32:06 +01:00
2024-11-25 16:08:39 +05:30
2024-06-20 12:09:54 -07:00
2024-11-21 10:53:53 -08:00
2024-12-04 15:31:15 +08:00
2024-11-10 15:30:23 +01:00
2024-11-25 07:22:45 -08:00
2024-11-04 16:00:22 -08:00
2024-11-08 13:46:27 +08:00
2024-06-14 19:31:56 +09:00
2024-09-20 09:57:46 +08:00
2024-11-19 17:19:35 +01:00
2024-10-08 09:22:10 -07:00
2024-10-08 09:22:10 -07:00
2024-11-28 15:43:21 +08:00
2024-11-13 10:35:22 +01:00