Erik Eckstein
39bb14b094
change mangling prefix from $S to $s
...
This is the final ABI mangling prefix
rdar://problem/38471478
2018-09-19 13:55:11 -07:00
Arnold Schwaighofer
3a63c0fc76
Update tests
2018-02-13 04:19:59 -08:00
Arnold Schwaighofer
d981bb1d96
Mangling: noescape functions will be trivial and no longer compatible with escape function types.
...
Mangle escapeness as part of the type.
Part of:
SR-5441
rdar://36116691
2018-02-06 08:51:43 -08:00
Erik Eckstein
cd3d50a5d9
ABI: Change the mangling prefix from _T0 to $S
2018-01-06 13:55:59 -08:00
Pavel Yaskevich
366356f9ca
[Mangling/ABI] NFC: Fix Sema tests to reflect label mangling changes
2017-12-18 15:44:25 -08:00
Arnold Schwaighofer
0971d82f70
SILGen: Remaining fixes for @callee_guaranteed closures and enable it
...
- Fix block to func reabstraction thunks block argument handling
- Forward cast ownership
- Fix applyPartiallyAppliedSuperMethod ownership for @callee_guaranteed closures
- Avoid a copy in buildBlockToFuncThunkBody
- Update tests for callee_guaranteed closures
SR-5441
rdar://33255593
2017-11-15 19:46:08 -08:00
Pavel Yaskevich
66e13bcc85
[ConstraintSolver] Avoid unnecessarily increasing score when matching function types
...
Remove function-to-function type match score increase, which should only
happen contextually in presence of other restrictions, this used to fix
the case related to matching of arrays of functions with and w/e `throws`
as function parameters which used to be ambigious, and now handled by
collection-upcast conversion score.
Resolves: rdar://problem/35142121
2017-10-31 23:14:35 -07:00