Commit Graph

5674 Commits

Author SHA1 Message Date
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
practicalswift
aff2d73867 Mark as fixed. 2015-12-06 06:17:23 -05:00
practicalswift
f781fbb820 Sync with https://github.com/practicalswift/swift-compiler-crashes
Add 342 compiler crashes.
2015-12-06 05:34:53 -05:00
David Farler
846a6dcf07 Revert "Fix test flags"
This reverts commit e0b4d55545.

Revert "Include crashing test case"

This reverts commit e5dd189aaf.

Revert "Compare rvalue types in assertion"

This reverts commit 1952739f9d.

This series of commits still was leading to a crash in IRGen.
There is an incorrect ref_to_unmanaged further up in the function
with the wrong input type, so something is weird with preparing
the AutoreleasingUnsafeMutablePointer.

https://bugs.swift.org/browse/SR-87
2015-12-06 02:15:21 -08:00
Joe Groff
46a1435601 Merge pull request #273 from CodaFi/argh-values
Use a More Specific Assert for RValue Type Lowering
2015-12-05 22:59:53 -08:00
Robert Widmann
e0b4d55545 Fix test flags 2015-12-06 01:55:43 -05:00
Robert Widmann
e5dd189aaf Include crashing test case 2015-12-06 01:50:53 -05:00
Dmitri Gribenko
4b8fff424b Merge pull request #270 from hamin/cleaning-up-cstyle-loops
A small step towards removing C-style loops
2015-12-05 22:47:26 -08:00
Haris Amin
0d001480a9 A small step towards removing C-style loops 2015-12-06 01:07:24 -05:00
Joe Groff
a42ce379ee Merge pull request #218 from Inari-Whitebear/master
Change language in test case to more accurately describe peer relationship of threads
2015-12-05 20:15:22 -08:00