Andrew Trick
ece0951924
Migrate from UnsafePointer<Void> to UnsafeRawPointer. ( #3724 )
...
* Migrate from `UnsafePointer<Void>` to `UnsafeRawPointer`.
As proposed in SE-0107: UnsafeRawPointer.
`void*` imports as `UnsafeMutableRawPointer`.
`const void*` imports as `UnsafeRawPointer`.
Occurrences of `UnsafePointer<Void>` are replaced with UnsafeRawPointer.
* Migrate overlays from UnsafePointer<Void> to UnsafeRawPointer.
This requires explicit memory binding in several places,
particularly in NSData and CoreAudio.
* Fix a bunch of test cases for Void->Raw migration.
* qsort takes IUO values
* Bridge `Unsafe[Mutable]RawPointer as `void [const] *`.
* Parse #dsohandle as UnsafeMutableRawPointer
* Update a bunch of test cases for Void->Raw migration.
* Trivial fix for the SceneKit test case.
* Add an UnsafeRawPointer self initializer.
This is unfortunately necessary for assignment between types imported from C.
* Tiny simplification of the initializer.
2016-07-26 02:18:21 -07:00
Dave Abrahams
014b6972cf
isOrderedBefore: => by areInIncreasingOrder:
2016-07-19 07:05:54 -06:00
Michael Gottesman
fc37603c5f
Revert "Implement SE-0118"
2016-07-18 16:44:58 -07:00
Dave Abrahams
f3ccc956c6
isOrderedBefore: => by areInIncreasingOrder:
2016-07-18 14:29:09 -06:00
Michael Gottesman
40e1991e12
Revert "Name and label changes for closure parameters (for review only) ( #2981 )"
...
This reverts commit 18406900ba .
2016-07-15 19:45:26 -07:00
Dave Abrahams
18406900ba
Name and label changes for closure parameters (for review only) ( #2981 )
...
Implement SE-0118 Name and label changes for closure parameters
[SE-0118](https://github.com/apple/swift-evolution/blob/master/proposals/0118-closure-parameter-names-and-labels.md )
2016-07-15 15:31:48 -07:00
Max Moiseev
b43341eb81
[stdlib] fixing the NewArray validation test in optimized mode
2016-06-20 15:58:45 -07: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
Rintaro Ishizaki
bd024bd586
[stdlib] Enable NewArray validation test on non-Darwin platforms
2016-05-17 18:45:23 +09:00
Dave Abrahams
9bee5d182f
[stdlib] location/formLocation => index/formIndex
2016-04-26 17:46:16 -07:00
Dave Abrahams
47a870cc50
[stdlib] Use location/formLocation for all index movement
2016-04-21 17:13:41 -07:00
Dmitri Gribenko
cfea1a3f58
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-04-14 17:00:46 -07:00
Dmitri Gribenko
c52787e900
Merge commit '9cdbec13eee72feccfc5f8b987882a8c52e8107b' into swift-3-indexing-model
2016-04-14 16:23:53 -07:00
Dmitri Gribenko
10697f939f
Merge commit '510f29abf77e202780c11d5f6c7449313c819030' into swift-3-indexing-model
2016-04-14 13:45:27 -07:00
Dmitri Gribenko
af92162f6b
Migrate validation-test/stdlib/NewArray.swift.gyb to LifetimeTracked
2016-04-05 15:39:30 -07:00
Dmitri Gribenko
65044f2d29
New indexing model: fix validation-test/stdlib/NewArray.swift.gyb
2016-04-05 15:39:30 -07:00
Dave Abrahams
8e4f85277b
Merge remote-tracking branch 'refs/remotes/origin/master' into merge
2016-03-29 09:19:34 -07:00
Dave Abrahams
8d9e62b274
[stdlib] indexing model: rename next/previous
...
I'm not too satisfied with the names for the updating: versions, but
this is a start.
2016-03-22 17:13:54 -07:00
Dmitri Gribenko
a6cd57222a
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-03-21 14:41:15 -07:00
Dmitri Gribenko
8ef59b187d
Silence warnings in NewArray.swift.gyb
2016-03-19 18:07:58 -07:00
Dmitri Gribenko
3f448b3896
Move NewArray.swift.gyb to validation-test
...
It depends on checkRangeReplaceable, which was moved to
StdlibCollectionUnittest.
2016-03-19 18:07:50 -07:00