Commit Graph

20 Commits

Author SHA1 Message Date
Max Moiseev
ea8e0f0e15 Merge remote-tracking branch 'origin/master' into new-integer-protocols 2016-09-21 14:48:35 -07:00
airspeedswift
ed5231b47c Numbered all FIXME(ABI) entries for tracking purposes. (#4868) 2016-09-19 16:41:41 -07:00
Dave Abrahams
219daedca4 [stdlib] Add a couple of FIXME(ABI) notes 2016-08-04 11:51:01 -07:00
Max Moiseev
4595052022 infinite inlining loop 2016-07-29 13:31:21 +03:00
Max Moiseev
28a252e33d Operators compile 2016-07-29 13:31:21 +03:00
Max Moiseev
1867ca4a0f WIP eliminating compilation errors one by one... 2016-07-29 13:31:21 +03:00
Patrick Pijnappel
69e6e190cd [stdlib] Minor refactor of StrideThroughGenerator.next() 2016-07-07 18:39:45 +10:00
Max Moiseev
1cca4ff528 Adding @warn_unqualified_access to Sequence.min/max and Strideable.stride 2016-07-05 16:08:05 -07:00
Xiaodi Wu
6a4da3f92f Implement floating point strides
Add tests for floating point stride

Clarify comment about unreachable endpoint

Add test for floating point stride error accumulation

Restore some formatting
2016-06-07 02:06:09 -05:00
Patrick Pijnappel
daec2dae00 Resolve conflicts with master 2016-05-24 19:21:04 +02:00
Dmitri Gribenko
d591f9cf7a stdlib: remove most uses of @warn_unused_result, which does nothing now
I kept the one on sorted(), because that one requires a less trivial
change.
2016-05-19 18:39:39 -07:00
Patrick Pijnappel
4419614be4 Move post-nil guarantee to separate line for Iterators' next() 2016-05-08 21:36:39 +02:00
Patrick Pijnappel
ab9e74cba3 Resolve conflicts with upstream 2016-05-05 08:55:34 +02:00
Mark Lacey
e03d334b68 Use Builtin.unreachable() in unavailable functions.
Saves a bit of code size in the standard library by eliminating some
static strings and function calls.

rdar://problem/25767016
2016-05-02 21:30:25 -07:00
practicalswift
8e3ba900b0 [gardening] Fix recently introduced headers. 2016-05-01 12:59:13 +02:00
Nate Cook
6e274913bf [stdlib] Revise documentation for Array- and Set-related types.
This adds and expands documentation for sequences, collections, and the array
types as well as `Set` and its related protocols.
2016-04-25 12:54:39 -05:00
Dmitri Gribenko
3d4378c86c stdlib: add ABI fixmes 2016-04-18 17:15:09 -07:00
Nate Cook
f947c7c81c [New indexing model] Finish documentation revisions
- Replaced RandomAccessIndex mentions from Strideable documentation
  with stronger guarantees if Stride conforms to Integer.
- Other cleanup and revisions.
2016-04-08 14:04:34 -05:00
Nate Cook
6b77c6a979 [New indexing model] Update documentation comments with new APIs
Most of these were successor() -> successor(of:).
2016-04-08 01:01:58 -05:00
Nate Cook
fde926122e Duplicate _Strideable declarations in Strideable
This will make advanced(by:) and distance(to:) visible as
members of Strideable.
2016-04-04 20:11:16 -05:00