Commit Graph

7762 Commits

Author SHA1 Message Date
Dmitri Hrybenko
0614e46e3e stdlib: remove casts that are not required
Found by Chris Willmore.

Swift SVN r25969
2015-03-11 05:46:02 +00:00
Joe Groff
d1349f8424 Underscore ErrorType until it can be API-reviewed.
Swift SVN r25940
2015-03-10 19:11:48 +00:00
Chris Willmore
44da3ceb8c When typechecking the constraint inout $T1 < UnsafeMutablePointer<Void>, bind $T1 to Void as a last resort.
Revert stdlib changes in r25921.

<rdar://problem/19835413> Reference to value from array changed

Swift SVN r25939
2015-03-10 18:54:36 +00:00
Joe Groff
1cc7f59751 Add a KnownProtocol kind for ErrorType.
Swift SVN r25934
2015-03-10 17:31:34 +00:00
Chris Willmore
7cbadb1d2c When UnsafeMutablePointer<$T1> has a Conversion constraint to
UnsafeMutablePointer<Void>, don't bind $T1 to Void. This fixes an
unintentional dependency on the order in which constraints are visited
by the solver.

Fix some resulting underconstrained expressions in the stdlib.

<rdar://problem/19835413> Reference to value from array changed

Swift SVN r25921
2015-03-10 10:08:38 +00:00
Dave Abrahams
6423209466 [stdlib] Fix assert docs and semantics
We must not lie to the user or to the optimizer!

Swift SVN r25913
2015-03-10 04:37:12 +00:00
Dmitri Hrybenko
fae641f3cd Move readLine() to SwiftExperimental
This API did not go through API review.

Swift SVN r25904
2015-03-10 00:04:02 +00:00
Dmitri Hrybenko
b13758e6f4 Move floating point parsing APIs to SwiftExperimental
These APIs did not go through API review.

Swift SVN r25891
2015-03-09 19:04:22 +00:00
Dmitri Hrybenko
5ca75b75e3 Move integer parsing APIs to SwiftExperimental
These APIs did not go through API review.

Swift SVN r25890
2015-03-09 19:04:21 +00:00
Dmitri Hrybenko
e460eb6264 Revert "[stdlib] Replace aString.toInt() with Int(aString)"
This reverts commit r25636.  It depends on integer parsing APIs, which
are being moved to SwiftExperimental.

Swift SVN r25889
2015-03-09 19:04:18 +00:00
Dmitri Hrybenko
89d1d924bd CMake: unbreak the build on Linux after stdlib reorganization
Runtime should use LINK_LIBRARIES to link to ICU, since it is a static
archive, and we need this link dependency to be propagated to the
libswiftSwiftCore library.  I have no idea why it linked correctly
worked before.

Swift SVN r25881
2015-03-09 10:09:36 +00:00
Dmitri Hrybenko
350248dae5 Reorganize the directory structure under 'stdlib'
The standard library has grown significantly, and we need a new
directory structure that clearly reflects the role of the APIs, and
allows future growth.

See stdlib/{public,internal,private}/README.txt for more information.

Swift SVN r25876
2015-03-09 05:26:05 +00:00