Commit Graph

2345 Commits

Author SHA1 Message Date
Joe Shajrawi
d1dae72877 Merge pull request #7700 from shajrawi/unconditional_checked_cast
Add support for unconditional checked cast instruction for opaque value types + SILGen support for it
2017-02-22 17:18:07 -08:00
Joe Shajrawi
ec1e3ee20e Add support for unconditional checked cast instruction for opaque value types + SILGen support for it 2017-02-22 16:35:46 -08:00
Mishal Shah
b6f2df3d13 [Docs] Update the link in CI doc 2017-02-22 11:46:50 -08:00
Mishal Shah
2d744fc682 [Docs] Add specific preset testing and ASAN info 2017-02-22 11:42:54 -08:00
practicalswift
6d09574ffb [gardening] Fix likely word processing artefacts. 2017-02-21 14:20:34 +01:00
Daniel Duan
020ac7330d Fix typos in the Ownership Manifesto 2017-02-20 21:29:22 -08:00
Joe Shajrawi
147f844ce4 Merge pull request #7654 from shajrawi/init_opaque
Add support for Init Existentials for opaque value types
2017-02-20 19:37:01 -08:00
Joe Shajrawi
1e521c453b Add support for Init Existentials for opaque value types 2017-02-20 16:40:02 -08:00
Bas Broek
a7ad00e15d [Gardening] Fix indentation of ownership manifesto code blocks 2017-02-18 21:26:29 +01:00
Hugh Bellamy
807223f460 Fix Windows build docs for the SDK overlay 2017-02-18 14:19:11 +07:00
John McCall
4c67c1d45b Add the initial revision of the ownership manifesto document. 2017-02-17 11:43:14 -05:00
Greg Parker
dfd10ae485 [test] Remove CPU=i386_or_x86_64 hack.
LLVM lit now supports boolean expressions in REQUIRES: directives.
2017-02-16 16:27:15 -08:00
Arnold Schwaighofer
876cea81ae SIL: Add an allowed access kind to the opened value of an open_existential_addr instruction
Once we move to a copy-on-write implementation of existential value buffers we
can no longer consume or destroy values of an opened existential unless the
buffer is uniquely owned.

Therefore we need to track the allowed operation on opened values.

Add qualifiers "mutable_access" and "immutable_access" to open_existential_addr
instructions to indicate the allowed access to the opened value.

Once we move to a copy-on-write implementation, an "open_existential_addr
mutable_access" instruction will ensure unique ownership of the value buffer.
2017-02-15 14:23:12 -08:00
Nate Cook
2336b23226 [docs] Mark one code block as Swift 2017-02-15 11:04:06 -06:00
Bas Broek
a68014bef6 Fix code sample indentation in String manifesto 2017-02-15 14:08:32 +01:00
practicalswift
65b0219f7b [gardening] Fix typos 2017-02-14 20:04:08 +01:00
ematejska
1a0a32d502 Merge pull request #7425 from ematejska/ABIStablityManifesto_JIRAs
Filing some more JIRA's to keep track of work.
2017-02-13 09:49:59 -08:00
EMatejska
4784588bf8 Filing some more JIRA's to keep track of work. 2017-02-13 09:46:09 -08:00
Hugh Bellamy
0da6f71786 Remove unecessary -DPYTHON_EXECUTABLE from Windows docs 2017-02-12 10:38:24 +07:00
Joe Shajrawi
a42f7f4e41 fix docs build failure for open_existential_opaque 2017-02-09 13:41:45 -08:00
Joe Shajrawi
df5297d877 Merge pull request #7349 from shajrawi/open_existential
Support for Open Existentials that do no take an address
2017-02-09 12:39:16 -08:00
Joe Shajrawi
c478828de7 Support for Open Existentials that do no take an address 2017-02-09 11:25:34 -08:00
Hugh Bellamy
ab581a2270 Merge pull request #7248 from apple/hughbe-patch-1
Add documentation for generating a Visual Studio project on Windows
2017-02-07 09:15:17 +07:00
Michael Gottesman
9e072a5fc7 [docs] Add a small section to the ARC optimizer docs elaborating on how unreachable code splits a scope and how that affects our modeling. 2017-02-06 14:14:01 -08:00
Bas Broek
75e8e03f86 Add missing closing brace in String Manifesto 2017-02-06 10:18:24 +01:00
Hugh Bellamy
e70c9f1094 Add documentation for generating a Visual Studio project on Windows 2017-02-04 14:31:35 +07:00
practicalswift
9f910d0e1b [gardening] Fix a vs. an typo 2017-02-03 20:40:01 +01:00
practicalswift
0e4484bcf7 [gardening] Fix likely word processing artefacts 2017-02-03 20:35:10 +01:00
Ben Cohen
f5f4d381e1 clarify meaning of term "currency type" 2017-01-27 08:39:20 -08:00
Michael Ilseman
4fcdcb5c8d [docs] Add the ABI Stability Manifesto document 2017-01-25 13:01:37 -08:00
Mishal Shah
b428094f61 Add Ubuntu 14.04 support back 2017-01-23 22:12:01 -08:00
practicalswift
a9d6d8938c [gardening] Fix recently introduced typos 2017-01-22 20:40:45 +01:00
practicalswift
e9dd8107a9 Merge pull request #6964 from practicalswift/gardening-20170121
[gardening] Typos. NULL → nullptr. \t. Incorrect Doxygen. Redundant REQUIRES. Unused diagnostics. PEP-8.
2017-01-22 01:22:34 +01:00
Dave Abrahams
f78ce10e99 droppingPrefix => dropPrefix 2017-01-21 08:57:31 -08:00
practicalswift
b0637c3462 [gardening] Fix likely word processor artefacts. 2017-01-21 10:47:04 +01:00
swift-ci
c77991317d Merge pull request #6955 from apple/dabrahams-patch-2 2017-01-20 13:32:33 -08:00
swift-ci
4ed208c107 Merge pull request #6954 from apple/dabrahams-patch-1 2017-01-20 13:32:32 -08:00
Dave Abrahams
4bc89747d4 Add missing capitalization 2017-01-20 12:44:24 -08:00
Dave Abrahams
1b653e4dff Fix note on default case/diacritic sensitivity 2017-01-20 12:30:43 -08:00
Nick Lockwood
02bff3fbf9 Fixed broken subtype relationship anchor 2017-01-20 17:21:45 +00:00
Ole Begemann
aebf80be05 [docs] Minor String Manifesto fixes 2017-01-20 14:46:03 +01:00
Ben Cohen
a92b6f1157 Merge pull request #6929 from airspeedswift/string-manifesto
[stdlib] String Manifesto
2017-01-19 18:43:52 -08:00
Ben Cohen
a716581c8b Initial version of string manifesto 2017-01-19 17:52:33 -08:00
swift-ci
52fb930e04 Merge pull request #6903 from gverdouw/patch-1 2017-01-19 17:42:15 -08:00
swift-ci
de6582aff7 Merge pull request #6897 from gkaimakas/patch-1 2017-01-19 16:45:29 -08:00
Michael Gottesman
2da18c7b47 [semantic-sil] Add special unmanaged_{retain,release}_value instructions for unpaired retain/release operations in semantic sil.
The reason why I am introducing special instructions is so I can maintain the
qualified ownership API wedge in between qualified SIL and the rest of the ARC
instructions that are pervasively used in the compiler.

These instructions in the future /could/ be extended to just take @sil_unmanaged
operands directly, but I want to maintain flexibility to take regular
non-trivial operands in the short term.

rdar://29791263
2017-01-19 13:23:08 -08:00
gverdouw
64e47eb2ec Fix cmake 3.6.2 URL
The older URL was returning a 404 error code
2017-01-19 11:07:36 +11:00
George Kaimakas
04f1588b2d Fixed typo 2017-01-18 22:54:51 +02:00
Robert Widmann
3eba4fd3ab Merge pull request #6787 from matthewcarroll/SR-3175-Include-signal-number-in-parseable-output-message
SR-3175: Include the terminating signal number in the driver output
2017-01-18 11:00:59 -07:00
Ziya Suzen - Maxwell Troy
1c5a26129d Fixed typo 2017-01-17 14:33:19 +00:00