Commit Graph

15 Commits

Author SHA1 Message Date
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Manav Gabhawala
7928140f79 [SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary 2016-04-06 20:21:58 -04:00
Roman Levenstein
8dff92ad4d Move pre-specializations of popular types away from the standard library.
Pre-specializations were only used by Onone builds, but were kept inside the standard library dylyb anyways. This commit moves all the pre-specializations into a dedicated Swift module and a dynamic library, which are only used by Onone builds.

This reduces the code size of libswiftCore.dylib by 4%-5%.
2016-02-25 11:23:15 -08:00
Todd Fiala
8ff40a3a22 Revert "Move pre-specializations of popular types away from the standard library."
This reverts commit 4d4c2cdba9.
2016-02-22 21:18:32 -08:00
Roman Levenstein
4d4c2cdba9 Move pre-specializations of popular types away from the standard library.
Pre-specializations were only used by Onone builds, but were kept inside the standard library dylyb anyways. This commit moves all the pre-specializations into a dedicated Swift module and a dynamic library, which are only used by Onone builds.

This reduces the code size of libswiftCore.dylib by 5%.
2016-02-22 07:54:44 -08:00
Arnold Schwaighofer
859fbc0162 More executable_test for the test directory
Swift SVN r29280
2015-06-03 23:28:51 +00:00
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Doug Gregor
793b3326af Implement the new rules for argument label defaults.
The rule changes are as follows:
  * All functions (introduced with the 'func' keyword) have argument
  labels for arguments beyond the first, by default. Methods are no
  longer special in this regard.
  * The presence of a default argument no longer implies an argument
  label.

The actual changes to the parser and printer are fairly simple; the
rest of the noise is updating the standard library, overlays, tests,
etc.

With the standard library, this change is intended to be API neutral:
I've added/removed #'s and _'s as appropriate to keep the user
interface the same. If we want to separately consider using argument
labels for more free functions now that the defaults in the language
have shifted, we can tackle that separately.

Fixes rdar://problem/17218256.

Swift SVN r27704
2015-04-24 19:03:30 +00:00
Dmitri Hrybenko
ce4de4e7c3 Use the correct substitution in the test so that it passes on iOS
Swift SVN r27027
2015-04-06 00:18:08 +00:00
Luqman Aden
35c56fb0bd [Serialization] Only serialize vtables for classes from the current
module.

rdar://problem/20295441

Swift SVN r26569
2015-03-26 00:45:18 +00:00
Arnold Schwaighofer
ad85a0f2df Revert "Nuke the intermittently failing test for now: emit-sib"
Jordan told me I can use "REQUIRES: disabled" instead and so I do.

This reverts commit r26551.

Swift SVN r26552
2015-03-25 20:22:42 +00:00
Arnold Schwaighofer
08be73bb17 Nuke the intermittently failing test for now: emit-sib
XFAIL does not work for a sporatically failing test.

rdar://20295441

Swift SVN r26551
2015-03-25 20:09:30 +00:00
Arnold Schwaighofer
b6e65e4c02 XFAIL: emit-sib test
The test fails on build bots.

rdar://20295441

Swift SVN r26548
2015-03-25 19:34:25 +00:00
Luqman Aden
29f9f3b928 [test] Use -run instead of directly calling executable.
Swift SVN r26286
2015-03-18 23:37:39 +00:00
Luqman Aden
1342cea057 Add some basic tests for -emit-sib and make sure swiftmodule generated from sib is identical to that from source.
Swift SVN r26282
2015-03-18 23:10:38 +00:00