Chris Lattner
|
3aa4ff4332
|
fix a validation test that was using ++/--
|
2016-04-17 09:15:07 -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
|
10697f939f
|
Merge commit '510f29abf77e202780c11d5f6c7449313c819030' into swift-3-indexing-model
|
2016-04-14 13:45:27 -07:00 |
|
Manav Gabhawala
|
8f4f37f072
|
[Sema] Fixes infinite recursion when inheriting from a member of the same type
|
2016-04-13 18:18:09 -04:00 |
|
Dmitri Gribenko
|
f8f75a2b95
|
Make a crash test more self-contained
|
2016-04-08 20:27:55 -07:00 |
|
Manav Gabhawala
|
7928140f79
|
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
|
2016-04-06 20:21:58 -04:00 |
|
Doug Gregor
|
cbdc7bc5e0
|
[Archetype builder] Typealiases can be found in protocol extensions, too.
Don't crash when we find them; narrow fix for rdar://problem/25298116.
|
2016-04-01 12:58:11 -07:00 |
|
Dmitri Gribenko
|
7b03d9c499
|
Add a test for rdar://21775089, which is fixed now
We used to go into infinite recursion in IRGen:
frame #21776: 0x00000001000bf49b swift`llvm::Value* swift::CanTypeVisitor<(anonymous namespace)::EmitTypeMetadataRef, llvm::Value*>::visit<>(swift::CanType) + 331
frame #21777: 0x00000001000b3177 swift`swift::irgen::IRGenFunction::emitTypeMetadataRef(swift::CanType) + 87
frame #21778: 0x00000001000c0ed3 swift`emitNominalMetadataRef(swift::irgen::IRGenFunction&, swift::NominalTypeDecl*, swift::CanType) + 771
frame #21779: 0x00000001000bf49b swift`llvm::Value* swift::CanTypeVisitor<(anonymous namespace)::EmitTypeMetadataRef, llvm::Value*>::visit<>(swift::CanType) + 331
frame #21780: 0x00000001000b3177 swift`swift::irgen::IRGenFunction::emitTypeMetadataRef(swift::CanType) + 87
frame #21781: 0x00000001000c0ed3 swift`emitNominalMetadataRef(swift::irgen::IRGenFunction&, swift::NominalTypeDecl*, swift::CanType) + 771
frame #21782: 0x00000001000bf49b swift`llvm::Value* swift::CanTypeVisitor<(anonymous namespace)::EmitTypeMetadataRef, llvm::Value*>::visit<>(swift::CanType) + 331
frame #21783: 0x00000001000b3177 swift`swift::irgen::IRGenFunction::emitTypeMetadataRef(swift::CanType) + 87
frame #21784: 0x00000001000c0ed3 swift`emitNominalMetadataRef(swift::irgen::IRGenFunction&, swift::NominalTypeDecl*, swift::CanType) + 771
frame #21785: 0x00000001000bf49b swift`llvm::Value* swift::CanTypeVisitor<(anonymous namespace)::EmitTypeMetadataRef, llvm::Value*>::visit<>(swift::CanType) + 331
frame #21786: 0x00000001000b3177 swift`swift::irgen::IRGenFunction::emitTypeMetadataRef(swift::CanType) + 87
frame #21787: 0x00000001000f5d3f swift`swift::irgen::emitPolymorphicArguments(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::SILFunctionType>, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::ArrayRef<swift::Substitution>, swift::irgen::WitnessMetadata*, swift::irgen::Explosion&) + 847
frame #21788: 0x0000000100155f9e swift`(anonymous namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 1374
frame #21789: 0x0000000100142211 swift`(anonymous namespace)::IRGenSILFunction::emitSILFunction() + 11889
frame #21790: 0x000000010013f025 swift`swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 725
frame #21791: 0x000000010008a67c swift`swift::irgen::IRGenModuleDispatcher::emitGlobalTopLevel() + 412
frame #21792: 0x00000001001257b7 swift`performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, swift::SILModule*, llvm::StringRef, llvm::LLVMContext&, swift::SourceFile*, unsigned int) + 855
frame #21793: 0x0000000100125d16 swift`swift::performIRGeneration(swift::IRGenOptions&, swift::SourceFile&, swift::SILModule*, llvm::StringRef, llvm::LLVMContext&, unsigned int) + 70
frame #21794: 0x000000010000d116 swift`performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&) + 12070
frame #21795: 0x0000000100009fce swift`frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 2638
frame #21796: 0x00000001000061d3 swift`main + 2131
frame #21797: 0x00007fff9a29e5ad libdyld.dylib`start + 1
frame #21798: 0x00007fff9a29e5ad libdyld.dylib`start + 1
(lldb) ^D
|
2016-03-30 13:41:35 -07:00 |
|
gregomni
|
e17e7ab8ae
|
Make resolveTypeInContext for aliases just use interface type as dependent member.
Much cleane. Also fixes one more validation crasher.
|
2016-03-22 23:13:10 -07:00 |
|
gregomni
|
78216b2990
|
Change all remaining tests that use typealias in a protocol to use associatedtype.
|
2016-03-09 18:08:52 -08:00 |
|
Max Moiseev
|
a49dab6bf8
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2016-02-29 12:08:52 -08:00 |
|
Chris Lattner
|
0a8db5daf6
|
Fix <rdar://problem/23899799> Simple closure expression crashed SourceKit
which is a straight-forward logic bug that the static analyzer would have caught.
|
2016-02-27 22:41:00 -08:00 |
|
Xi Ge
|
b109145dfc
|
[TypeChecker] Add null check to fix a crash.
|
2016-02-27 21:38:55 -08:00 |
|
Daniel Duan
|
2bc78b8c09
|
[stdlib] update for 'inout' adjustment (SE-0031)
|
2016-02-26 12:02:29 -08:00 |
|
Jordan Rose
|
0205191e32
|
stdlib: SequenceType._initializeTo(_:) becomes _copyContents(initializing:)
|
2016-02-23 16:58:49 -08:00 |
|
Dave Abrahams
|
ece87787e0
|
stdlib: merge swift 3 UnsafePointer migrations
|
2016-02-23 15:45:45 -08:00 |
|
Dave Abrahams
|
d96b051d28
|
stdlib: initializePointee(_) => initialize(with:)
Tacking "Pointee" on just for unary operations (and especially
operations with an optional count) created inconsistency.
|
2016-02-23 15:15:23 -08:00 |
|
Dmitri Gribenko
|
f0633ce5a9
|
stdlib: Sequence.iterator() => .makeIterator()
|
2016-02-23 13:52:30 -08:00 |
|
Max Moiseev
|
78ba5d5f3f
|
[stdlib] Requires in comments changed to Precondition
|
2016-02-19 18:57:26 -08:00 |
|
Dmitri Gribenko
|
b90470e2fe
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2016-02-19 09:51:53 -08:00 |
|
Dmitri Gribenko
|
a73390c06d
|
stdlib tests: replace '__FILE__' and '__LINE__' with '#file' and '#line'
|
2016-02-18 18:48:29 -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 |
|
David Farler
|
8a5ed405bf
|
Make var parameters an error for Swift 3
This finishes up revisions to SE-0003 - only var function parameters
are disallowed for Swift 3.
|
2016-01-30 12:39:17 -08:00 |
|
David Farler
|
3f635d04c7
|
Reinstante var bindings in refutable patterns, except function parameters.
This reverts commits: b96e06da44,
8f2fbdc93a,
93b6962478,
64024118f4,
a759ca9141,
3434f9642b,
9f33429891,
47c043e8a6.
This commit leaves 'var' on function parameters as a warning to be
merged into Swift 2.2. For Swift 3, this will be an error, to be
converted in a follow-up.
|
2016-01-29 15:27:08 -08:00 |
|
practicalswift
|
ca9e488f30
|
[gardening] Add "-*- swift -*-" to *.swift.gyb. Remove from *.swift.
|
2016-01-23 10:27:03 +01:00 |
|
Dmitri Gribenko
|
9bcd5a1056
|
Collection.length => .count
|
2016-01-22 18:41:19 -08:00 |
|
Dmitri Gribenko
|
62f73f4469
|
Rename CollectionDefaultIterator to IndexingIterator
|
2016-01-21 11:49:03 -08:00 |
|
Chris Lattner
|
2f78b70857
|
recent diagnostics changes fixed 5 crashers and broke 1.
|
2016-01-11 22:43:27 -08:00 |
|
Max Moiseev
|
f51e708a8f
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2016-01-04 12:25:25 -08:00 |
|
practicalswift
|
50baf2e53b
|
Use consistent formatting in top of file headers.
|
2016-01-04 02:17:48 +01:00 |
|
Chris Lattner
|
ad82cbd5a9
|
Clone arguments with the implicit bit set when generating implicit accessors,
fixing a recently xfailed test.
|
2016-01-02 19:42:27 -08:00 |
|
Chris Lattner
|
168c8f025e
|
My recent changes broke this test, XFAIL it until I have time to fix it (hopefully today) to unblock internal CI.
|
2016-01-02 15:26:51 -08:00 |
|
Zach Panzarino
|
e3a4147ac9
|
Update copyright date
|
2015-12-31 23:28:40 +00:00 |
|
Dmitri Gribenko
|
b1fdf56f5c
|
stdlib: mark _preprocessingPass with @noescape
|
2015-12-23 14:56:15 -08:00 |
|
Max Moiseev
|
a7339e67ac
|
Merge remote-tracking branch 'origin' into swift-3-api-guidelines
|
2015-12-22 11:36:07 -08:00 |
|
Dmitri Gribenko
|
e216169029
|
Add a (now fixed) compiler crash test case contributed by Jasl on the swift-dev mailing list
|
2015-12-22 04:12:44 -08:00 |
|
Max Moiseev
|
bc942090ee
|
cleaning up initializePointee/deinitializePointee, error messages and comments
|
2015-12-18 16:22:24 -08:00 |
|
Max Moiseev
|
5ccc258f71
|
func underestimatedLength() => var underestimatedLength { get }
|
2015-12-18 16:22:24 -08:00 |
|
Max Moiseev
|
b3fcc5fefa
|
underestimateLength() => underestimatedLength()
|
2015-12-18 16:22:24 -08:00 |
|
Max Moiseev
|
50371821fe
|
reverse() => reversed()
|
2015-12-18 16:20:01 -08:00 |
|
Dmitri Gribenko
|
73ce9ae7e9
|
Collection.count => .length
And other API changes that naturally fall out from this, like
Array(repeating:count:) => Array(repeating:length:).
|
2015-12-17 15:55:29 -08:00 |
|
Max Moiseev
|
3fe0c60d7f
|
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
|
2015-12-17 11:00:02 -08:00 |
|
Maxim Moiseev
|
6c50752aed
|
UnsafePointer: initializeMemory and deinitializePointee
|
2015-12-16 17:11:57 -08:00 |
|
Maxim Moiseev
|
0e54467bfa
|
Final bulk removal of Type suffix
|
2015-12-16 17:06:19 -08:00 |
|
Daniel Duan
|
ebb0c3a204
|
replaced single-line ++/-- with +=/-=
|
2015-12-15 09:05:37 -08:00 |
|
Maxim Moiseev
|
b702b1a903
|
more number type renames
|
2015-12-10 17:08:41 -08:00 |
|
Maxim Moiseev
|
0e0191380a
|
OptionSetType => OptionSet
|
2015-12-10 14:58:24 -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 |
|