Chris Lattner
bc09af33f1
Merge pull request #3592 from practicalswift/trailing-semicolon
...
[gardening] Remove trailing semicolons.
2016-07-19 22:58:35 -07:00
Luke Larson
74e0498015
Revert "Update master to build with Xcode 8 beta 3, OS X 10.12, iOS 10, tvOS 10, and watchOS 3 SDKs."
...
This reverts commit 62d1fa760c .
2016-07-19 15:18:17 -07:00
Tony Parker
fe932663a8
Merge pull request #3598 from parkera/se86_rename_process
...
Rename Process to CommandLine
2016-07-19 13:45:23 -07:00
Mishal Shah
62d1fa760c
Update master to build with Xcode 8 beta 3, OS X 10.12, iOS 10, tvOS 10, and watchOS 3 SDKs.
2016-07-19 22:31:34 +02:00
Andrew Trick
5a8271c621
Rename UnsafePointer allocate & deallocate. ( #3608 )
...
As proposed in SE-0107: UnsafeRawPointer:
Rename 'init(allocatingCapacity:)' to 'UnsafeMutablePointer.allocate(capacity:)'
Rename 'deallocateCapacity' to 'deallocate(capacity:)'
`allocate` should not be an initializer. It's primary function is to allocate
memory, not initialize a pointer.
2016-07-19 11:48:18 -07:00
Dave Abrahams
b2bbd4c599
reduce(_ initial:combine:) => reduce(_ initialResult:_ nextPartialResult)
2016-07-19 07:12:59 -06:00
Dave Abrahams
014b6972cf
isOrderedBefore: => by areInIncreasingOrder:
2016-07-19 07:05:54 -06:00
Tony Parker
f65c1390cb
Rename Process to CommandLine
...
Rename Process to CommandLine [SE-0086].
2016-07-18 17:02:02 -07:00
Michael Gottesman
fc37603c5f
Revert "Implement SE-0118"
2016-07-18 16:44:58 -07:00
Andrew Trick
0230efc614
Rename UnsafePointer assign/initialize and eliminate Backward variants. ( #3585 )
...
Also fixes the comments to clarify that source and self memory
must be disjoint.
2016-07-18 15:15:47 -07:00
practicalswift
8287c5dfca
[gardening] Remove trailing semicolons.
...
Inspiration: 425138c56e
2016-07-19 00:04:53 +02:00
Dave Abrahams
b0044948df
reduce(_ initial:combine:) => reduce(_ initialResult:_ nextPartialResult)
2016-07-18 14:30:46 -06:00
Dave Abrahams
f3ccc956c6
isOrderedBefore: => by areInIncreasingOrder:
2016-07-18 14:29:09 -06:00
Dmitri Gribenko
e72bece130
benchmarks: fix warnings
2016-07-18 02:41:21 -07: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
Maxim Moiseev
61d1c599e8
[stdlib] Introducing the new Arithmetic protocol ( #3479 )
...
* [stdlib] Introducing the new Arithmetic protocol
* [stdlib] conforming floating point types to the new Arithmetic protocol
* [stdlib] removing AbsoluteValuable conformance from floating point types
* [stdlib] removing the integers prototype
2016-07-13 11:35:14 -07:00
Doug Gregor
823c24b355
[SE-0112] Rename ErrorProtocol to Error.
...
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00
Arnold Schwaighofer
cd59716c78
[benchmark] PopFrontGeneric - Replace protocol with minimal implementation
...
_ArrayBufferProtocol's visiblity will be changed to internal. Replace with a
minimal implementation for this benchmark.
rdar://27261449
2016-07-11 08:55:33 -07:00
practicalswift
808b539f10
[gardening] Minor syntax cleanups.
2016-07-09 13:27:57 +02:00
practicalswift
5d1af107a3
[gardening] Use "{let,var} c: C" instead of "{let,var} c : C"
...
Inspired by @gribozavr:s fix in 1ad666742e
2016-07-01 23:51:32 +02:00
swift-ci
6a579cdc68
Merge pull request #3012 from austinzheng/az-gardening
2016-06-14 23:31:01 -07:00
Dmitri Gribenko
3a75394c67
Merge pull request #3016 from practicalswift/objective-c
...
[gardening] Use consistent capitalization for "Objective-C".
2016-06-14 21:29:33 -07:00
Austin Zheng
6042ee0244
[gardening] Add .self to suppress compiler warnings
2016-06-14 18:24:29 -07:00
Mishal Shah
87b7bcfd3e
Update master to build with Xcode 8 beta 1, OS X 10.12, iOS 10, tvOS 10, and watchOS 3 SDKs.
2016-06-14 14:53:55 -07:00
practicalswift
4485f76794
[gardening] Use consistent capitalization for "Objective-C".
2016-06-14 22:24:43 +02:00
Erica Sadun
1cd06c457d
Fixed line continuation error in CMakeLists.txt. Updated REPL warning for compiler and stdlib development use recommendations
2016-05-31 16:38:02 -06:00
Dmitri Gribenko
4329ebefd8
CMake: remove an unused variable
2016-05-30 19:34:29 -07:00
Nate Cook
81eb96c6dc
Suppress warnings for unused results in benchmark tests
2016-05-17 14:34:06 -05:00
Trent Nadeau
0cc851568a
Updated tests to use @discardableResult and _ = .
2016-05-11 22:53:38 -04:00
Chris Willmore
af0c7bd620
Initial implementation of SE-0054 "Abolish IUO Type" ( #2322 )
...
This is a squash of the following commits:
* [SE-0054] Import function pointer arg, return types, typedefs as optional
IUOs are only allowed on function decl arguments and return types, so
don't import typedefs or function pointer args or return types as IUO.
* [SE-0054] Only allow IUOs in function arg and result type.
When validating a TypeRepr, raise a diagnostic if an IUO is found
anywhere other thn the top level or as a function parameter or return
tpye.
* [SE-0054] Disable inference of IUOs by default
When considering a constraint of the form '$T1 is convertible to T!',
generate potential bindings 'T' and 'T?' for $T1, but not 'T!'. This
prevents variables without explicit type information from ending up with
IUO type. It also prevents implicit instantiation of functions and types
with IUO type arguments.
* [SE-0054] Remove the -disable-infer-iuos flag.
* Add nonnull annotations to ObjectiveCTests.h in benchmark suite.
2016-05-03 14:06:19 -07:00
Dave Abrahams
997b04384c
Update a benchmark for new indexing model
2016-05-02 13:49:15 -07:00
Nate Cook
21df5f203a
[stdlib] Fix errant tests
...
- A benchmark method was renamed during the Set API batch revisions
- The SourceKit test that includes stdlib docs needed a new fixture
2016-04-27 11:13:44 -05:00
Dave Abrahams
9bee5d182f
[stdlib] location/formLocation => index/formIndex
2016-04-26 17:46:16 -07:00
Dave Abrahams
debde16e2c
Merge set-api branch into swift-3-indexing-model
2016-04-26 15:56:42 -07:00
Dmitri Gribenko
0984f81a50
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-04-22 18:56:35 -07:00
Dave Abrahams
47a870cc50
[stdlib] Use location/formLocation for all index movement
2016-04-21 17:13:41 -07:00
Max Moiseev
63d3d1a573
[stdlib][swift-3-indexing-model] extensions for Collection and BidirectionalCollection with strideable indexes
2016-04-21 12:14:56 -07:00
Arnold Schwaighofer
aa34aceaee
Add a benchmark to test comparing equal strings
2016-04-20 09:15:41 -07:00
Arnold Schwaighofer
5122bfb711
Add a unicode version of the SortStrings benchmark
2016-04-19 14:16:27 -07:00
Arnold Schwaighofer
2520703f58
Add String.hasPrefix/hasSuffix benchmark
2016-04-19 08:15:23 -07:00
Dmitri Gribenko
fc8d62dfbb
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
2016-04-18 14:40:06 -07:00
practicalswift
db452dcbe9
[gardening] "[ a, b ]" → "[a, b]"
2016-04-17 21:26:08 +02:00
practicalswift
8fc1307037
[gardening] "\t" → " "
2016-04-17 21:12:32 +02:00
practicalswift
c2107f456c
[gardening] "[ a, b ]" → "[a, b]" ( #2227 )
2016-04-17 21:02:18 +02: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
3e708a9328
Merge commit '8e292daec1bc790c96b5ee39b8d55dadcac6ce1b' into swift-3-indexing-model
2016-04-14 15:10:26 -07:00
Dmitri Gribenko
10697f939f
Merge commit '510f29abf77e202780c11d5f6c7449313c819030' into swift-3-indexing-model
2016-04-14 13:45:27 -07:00
practicalswift
dc6c2aeef6
[gardening] "Type->Type" → "Type -> Type" in Swift code
2016-04-13 23:03:55 +02:00