Commit Graph

3633 Commits

Author SHA1 Message Date
Maxim Moiseev
0e0191380a OptionSetType => OptionSet 2015-12-10 14:58:24 -08:00
Maxim Moiseev
2c95bb6d51 BooleanType => Boolean 2015-12-10 14:56:32 -08:00
Jacob Bandes-Storch
61dea21228 Fix crash in DependentGenericTypeResolver::resolveDependentMemberType
An erroneous `baseTy` would cause resolveArchetype to return nullptr, resulting in a null dereference.
2015-12-10 14:52:53 -08:00
Dmitri Gribenko
78930e7fac Remove MutableSliceable 2015-12-10 14:50:12 -08:00
Dmitri Gribenko
21f081fc1a Merge pull request #405 from practicalswift/normalize-run-directives
Compiler crashers: Normalize format of "RUN:" directives.
2015-12-10 14:36:19 -08:00
Dmitri Gribenko
5995ef2acd Mark one crasher test as fixed on OS X 2015-12-10 14:30:17 -08:00
practicalswift
eae3eea17f Compiler crashers: Normalize format of "RUN:" directives.
Will allow for easy parsing of common "RUN:" directives.
2015-12-10 22:58:00 +01:00
Jacob Bandes-Storch
71b15e9a06 [AST] Improve ErrorType handling in TypeBase::getMemberSubstitutions()
Historical note: a similar change was made in 0033bda.
2015-12-10 13:11:06 -08:00
Dmitri Gribenko
3e5ce67605 Merge pull request #398 from practicalswift/rename-to-match-naming-in-swift-compiler-crashes
Rename old crash cases to match the current naming scheme.
2015-12-10 13:02:21 -08:00
Dmitri Gribenko
38af324034 Merge pull request #396 from practicalswift/sync-with-swift-compiler-crashes-20151210b
Sync with https://github.com/practicalswift/swift-compiler-crashes
2015-12-10 12:39:43 -08:00
Max Moiseev
d610fa0d1c Merge remote-tracking branch 'origin' into swift-3-api-guidelines 2015-12-10 10:29:52 -08:00
practicalswift
6029492e9f Remove since identical with 01739-swift-constraints-constraintsystem-solvesimplified.swift. 2015-12-10 17:03:34 +01:00
practicalswift
d132d07b53 Remove since identical with 00924-swift-parser-consumetoken.swift. 2015-12-10 17:02:33 +01:00
practicalswift
dc5a6a740f Remove since identical with 00805-swift-constraints-constraintsystem-opengeneric.swift. 2015-12-10 17:01:30 +01:00
practicalswift
7efd093c6f Remove since identical with 0035-cerror.swift. 2015-12-10 17:00:04 +01:00
practicalswift
c4866885c8 Rename old crash cases to match the current naming scheme.
Will allow for easy import of crash cases from swift-compiler-crashes.
2015-12-10 16:50:15 +01:00
practicalswift
159d58dd8c Sync with https://github.com/practicalswift/swift-compiler-crashes
Add 5 compiler crashes.
2015-12-10 15:44:25 +01:00
Dmitri Gribenko
f3ecc3cdc5 transcode(..., stopOnError:) => transcode(..., stoppingOnError:) 2015-12-09 17:18:55 -08:00
Dmitri Gribenko
9ca2775aa1 String.appendContentsOf() => .append()
We don't want to imply that String argument is a collection of anything.
2015-12-09 17:18:33 -08:00
Dmitri Gribenko
b7f3d54f4d removeAll(keepCapacity:) => removeAll(keepingCapacity:) 2015-12-09 17:18:08 -08:00
Dmitri Gribenko
f846ef6fd1 RangeReplaceableCollection.removeRange() => .removeSubrange() 2015-12-09 17:17:51 -08:00
Dmitri Gribenko
727f011314 RangeReplaceableCollection.insert(_:atIndex:) => .insert(_:at:) 2015-12-09 17:17:41 -08:00
Dmitri Gribenko
9a9ff305f1 RangeReplaceableCollection.replaceRange() => .replaceSubrange() 2015-12-09 17:17:34 -08:00
Maxim Moiseev
844b81c46b SequenceType => Sequence 2015-12-09 17:16:56 -08:00
Maxim Moiseev
c678a839dc IndexType => Index 2015-12-09 17:16:42 -08:00
Dmitri Gribenko
5a07f89297 Remove 'generator' from names of test functions and local variables 2015-12-09 17:15:11 -08:00
Dmitri Gribenko
4b1be0e78f removeAtIndex() => removeAt() 2015-12-09 17:15:01 -08:00
Dmitri Gribenko
df17ddbc9b init(count: Int, repeatedValue: Element) => init(repeating:count:)
Affected types: _ArrayType, Array, ArraySlice, ContiguousArray, Repeat,
String (initializers from Character and UnicodeScalar)
2015-12-09 17:14:37 -08:00
Dmitri Gribenko
d72b5ab575 func SequenceType.enumerate() => var SequenceType.enumerated 2015-12-09 17:13:21 -08:00
Maxim Moiseev
09a6913622 RangeReplaceableCollectionType => RangeReplaceableCollection 2015-12-09 17:13:08 -08:00
Maxim Moiseev
7e2466c14e CollectionType => Collection 2015-12-09 17:12:48 -08:00
Dmitri Gribenko
feacbc4433 Rename ErrorType to ErrorProtocol 2015-12-09 17:12:19 -08:00
Dmitri Gribenko
99d3f96c6d Rename IndexingGenerator to CollectionDefaultIterator 2015-12-09 17:12:07 -08:00
Max Moiseev
67f02296a4 Fixing validation tests
There is no longer a free `map` function so one of the crashers goes to
'fixed', and another one is changed to use `print` instead of a
`println`.
2015-12-09 17:11:54 -08:00
Dmitri Gribenko
1c0047829a Rename SequenceType.generate() to SequenceType.iterator() 2015-12-09 17:11:17 -08:00
Dmitri Gribenko
2cf172160c Rename SequenceType.Generator associated type to SequenceType.Iterator 2015-12-09 17:11:05 -08:00
David Walter
dacd6834a6 Merge remote-tracking branch 'apple/master' 2015-12-08 20:28:54 +01:00
Nadav Rotem
a652945d9a Revert "A small step towards removing C-style loops"
This reverts commit 0d001480a9.

The commit that changed the iteration style from c-based loops into for-each
loops caused major regressions in our string benchmarks. Arnold believes that we
are making a different inlining decision in the for-each loops. We should
reapply this patch after we fix the optimizer

The regression was detected in rdar://23776732.
2015-12-08 09:17:17 -08:00
Chris Lattner
1a1ccd1975 My diagnostics changes from last night fixed these three crashers, move them and remove --crash. 2015-12-08 09:02:24 -08:00
Arnold Schwaighofer
4b22a31154 ArraySemantics: Remove getArrayPropertyIsNative - we are only using
hoistableIsNativeTypeChecked these days.
2015-12-08 07:34:25 -08:00
Dmitri Gribenko
31598d41bf Rename GeneratorType to IteratorProtocol 2015-12-07 17:08:32 -08:00
Max Moiseev
d0e1cb3a0e Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines 2015-12-07 16:43:20 -08:00
David Walter
8ed7ae92aa Merge remote-tracking branch 'apple/master' 2015-12-08 00:03:48 +01:00
Jacob Bandes-Storch
e437a0e14c Fix duplicate error and re-categorize test
This crashing test became non-crashing in #138. #138 also emitted multiple instances of the same diagnostic, which was causing -verify to fail on decl/protocol/req/recursion.swift.
2015-12-07 02:28:37 -08:00
David Walter
4d80d1001b Reverted unnecessary changes 2015-12-07 02:47:17 +01:00
Jacob Bandes-Storch
b8bfdbc72e Fix logic error in ArchetypeBuilder::mapTypeIntoContext 2015-12-06 14:33:06 -08:00
Dmitri Gribenko
a35567d5be Merge pull request #280 from practicalswift/sync-with-swift-compiler-crashes-20151206
Sync with https://github.com/practicalswift/swift-compiler-crashes
2015-12-06 14:00:01 -08:00
practicalswift
ebdf6805ba Remote "not" from RUN line of valid programs. 2015-12-06 22:30:18 +01:00
David Walter
e178c513fd Removed C-style loops and postincrements
Removed some C-style loops and postincrements
2015-12-06 16:38:47 +01:00
practicalswift
7907831a45 Mark as fixed (RUN). 2015-12-06 06:19:43 -05:00