Sima Nerush
ce9b362a61
[NFC] Tests: Add a test case for #71376
2024-02-08 00:15:59 -08:00
Alex Lorenz
4858cb6225
[IRGen][interop] do not add 'nocapture' to not bitwise takable types
...
The use of 'nocapture' for parameters and return values is incorrect for C++ types, as they can actually capture a pointer into its own value (e.g. std::string in libstdc++)
rdar://115062687
2023-09-25 17:43:34 -07:00
Holly Borla
7b586d20cc
[Type Resolution] Only allow each applied directly to a type parameter pack.
2023-07-20 15:29:53 -07:00
Arnold Schwaighofer
379cff4200
Fix final set of tests not moved to opaque pointers
2023-07-05 05:22:49 -07:00
Arnold Schwaighofer
c1a93e0bde
Move tests over to use the %use_no_opaque_pointers option
2023-06-14 10:49:48 -07:00
Slava Pestov
df5d531dc6
ASTPrinter: Fix printing of pack requirements
...
Also remove the flag for printing 'each' and make it always on.
2023-04-19 13:04:51 -04:00
Holly Borla
e48a9b5aeb
[NFC] Remove the VariadicGenerics flag from tests that don't use generic types
...
with parameter packs.
2023-04-15 17:48:08 -07:00
Holly Borla
234b5dc660
[SE-0393] Require the repeat keyword for generic requirement expansions.
2023-04-12 22:04:01 -07:00
Slava Pestov
c1a9a7a291
Fix test/IRGen/variadic_generic_captures.swift again
2023-04-05 20:06:59 -04:00
Slava Pestov
548c5d3dc4
Fix test/IRGen/variadic_generic_captures.swift on arm64e
...
Fixes rdar://problem/107424494.
2023-04-04 19:48:11 -04:00
Rintaro Ishizaki
3077445d2a
[Tests] Disable a failing test while investigating
...
rdar://107424494
2023-03-31 12:50:31 -07:00
Slava Pestov
8a6bb30c4c
IRGen: Heap-allocate metadata and witness table packs captured by escaping closures
2023-03-28 21:44:53 -04:00
Slava Pestov
5e1ff23930
Add some tests for variadic generic captures
2023-03-28 21:44:53 -04:00