Ben Cohen
9ee856f386
[stdlib][WIP] Eliminate (Closed)CountableRange using conditional conformance ( #13342 )
...
* Make Range conditionally a Collection
* Convert ClosedRange to conditionally a collection
* De-gyb Range/ClosedRange, refactoring some methods.
* Remove use of Countable{Closed}Range from stdlib
* Remove Countable use from Foundation
* Fix test errors and warnings resulting from Range/CountableRange collapse
* fix prespecialize test for new mangling
* Update CoreAudio use of CountableRange
* Update SwiftSyntax use of CountableRange
* Restore ClosedRange.Index: Hashable conformance
* Move fixed typechecker slowness test for array-of-ranges from slow to fast, yay
* Apply Doug's patch to loosen test to just check for error
2018-02-01 20:59:28 -08:00
Andrew Trick
d2cc9d16e0
Un-XFAIL RangeReplaceable.swift.gyb test.
2017-12-10 14:58:50 -08:00
Arnold Schwaighofer
a74e68fa39
Resilient stdlib: XFAIL RangeReplaceable.swift.gyb test
...
rdar://35646292
2017-11-30 08:21:26 -08:00
practicalswift
cc852042c9
[gardening] Fix accidental trailing whitespace.
2016-10-29 10:22:58 +02:00
Austin Zheng
4872e546b0
[stdlib] Adding tests for removeSubrange overloads for range types
2016-06-14 23:57:49 -07:00
rintaro ishizaki
4b51d85abb
[test] Add %target-run-simple-swiftgyb
...
* Utilize %target-run-simple-swiftgyb where possible
2016-06-15 11:49:44 +09:00
Rintaro Ishizaki
1bdce7ced6
[lit] Add substitutions: %utils and %line-directive
...
%utils => ${SWIFT_SOURCE_DIR}/utils
%line-directive => ${SWIFT_SOURCE_DIR}/utils/line-directive
2016-06-11 02:41:15 +09:00
Austin Zheng
fa6c028edf
Adding tests for replaceSubrange overloads for range types ( #2774 )
2016-06-07 14:21:30 -07:00
Dmitri Gribenko
d5911124cf
New indexing model: fix validation-test/stdlib/RangeReplaceable.swift.gyb
2016-04-05 15:39:30 -07:00
Dmitri Gribenko
cc417c160c
Validation tests: remove tests that are duplicate with validation-test/stdlib/Collection
2016-04-04 18:53:04 -07:00
Slava Pestov
49c54870c1
Serialization: Auto-linking recursively walks modules imported from -sil-serialize-all modules
2016-04-01 12:21:36 -07:00
Jordan Rose
b319e3da32
stdlib: Adjust to insert(contentsOf:at:) and append(contentsOf:)
...
instead of insertContents(of:at:) and appendContents(of:),
originally insertContentsOf(_:at:) and appendContentsOf(_:)
per internal discussion.
2016-02-25 12:50:39 -08:00
Jordan Rose
e4e9c71d8f
StdlibUnittest: Rename enum cases and static vars to match API guidelines.
2016-02-24 18:23:59 -08:00
Max Moiseev
bb3eaaf308
Merging in latest master
2016-02-24 15:10:25 -08:00
Jordan Rose
40d5e349bb
stdlib: insertContentsOf(_:at:) becomes insertContents(of:at:)
2016-02-23 16:58:49 -08:00
Max Moiseev
4b9eab6288
appendContentsOf => appendContents(of:)
2016-02-22 18:02:04 -08:00
Dmitri Gribenko
efaa39ea79
stdlib: add first argument labels and some other changes to conform to API guidelines
2016-02-15 23:47:54 -08:00
Max Moiseev
61c837209b
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2016-02-04 16:13:39 -08:00
Dmitri Gribenko
aeeb9c1325
Move collection testing code from StdlibUnittest to a new library
...
This brings down StdlibUnittest build time to 90 seconds with either
a DebugAssert or a ReleaseAssert compiler.
The new library, StdlibCollectionTests, is only built when running
validation tests.
2016-01-26 18:58:03 -08:00