Michael Gottesman
40a09c9c21
Fixup tests for -assume-parsing-unqualified-ownership-sil => [ossa] transition.
2018-12-18 00:49:32 -08:00
Michael Gottesman
9e13779702
[ownership] Remove most -enable-sil-ownership from SILGen now that %target-swift-emit-silgen does it automatically.
...
I did this using a sed pattern and verified by hand that I was only touching
target-swift-emit-silgen lines.
2018-12-13 11:54:54 -08:00
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
Alex Hoppen
560c22b18e
[tests] Verify the libSyntax tree on SILGen tests
...
The SILGen testsuite consists of valid Swift code covering most language
features. We use these tests to verify that no unknown nodes are in the
file's libSyntax tree. That way we will (hopefully) catch any future
changes or additions to the language which are not implemented in
libSyntax.
2018-04-27 09:33:03 -07: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
6519d99736
[Mangling/ABI] NFC: Fix SILGen tests to reflect label mangling changes
2017-12-18 15:44:24 -08:00
Pavel Yaskevich
affbd5e4ea
[AST] Fix function signature mangler to aways respect parens
2017-10-11 21:45:05 -07:00
Alex Hoppen
1c7e289b96
[Mangling] Adjust subscript mangling to not include "subscript"
...
Change the mangling of accessors to have a variable or subscript node
as their only child node, while subscript nodes no longer contain a decl
name.
2017-09-10 19:44:07 +02:00
Michael Gottesman
20c3e1e92f
[semantic-sil] Update 45 SILGen tests for ownership.
...
Very roughly this increases the total coverage of SILGen tests with ownership
enabled to ~20%.
rdar://33358110
2017-08-20 19:11:55 -07:00
Greg Lutz
ed483362e6
Addition of fix to test/SILGen/constrained_extensions.swift to pull request #9046
2017-05-01 22:04:26 -07:00
Erik Eckstein
ae49b6939b
Mangling: fix mangling of functions with a single empty tuple argument
...
For example:
func testit(_ x: ()) -> Int
2017-04-28 16:51:34 -07:00
Erik Eckstein
11f66f8ce3
Mangling: Make sure we have different names for function overloads with all args in a tuple.
...
For example:
public func test(_ a: Int, _ b: Int)
public func test(_ t: (Int, Int))
fixes rdar://problem/31211238
2017-03-24 17:07:56 -07:00