- Commit 2e2e4d9bdaf7bd711034801813a331bbbe34bb61 by Nate Cook:
Revert "Revert "[stdlib] Dictionary/Set enhancements""
- add: validation-test/stdlib/HashedCollectionFilter4.swift
- edit: test/api-digester/source-stability.swift.expected
- add: validation-test/stdlib/HashedCollectionFilter3.swift
- edit: validation-test/stdlib/Dictionary.swift
- edit: validation-test/stdlib/Set.swift
- edit: stdlib/public/core/HashedCollections.swift.gyb
- Commit 3f68f2876ae6f859f777df638487544ddc62111d by Nate Cook:
Fix dictionary merge bug under optimization
- edit: stdlib/public/core/HashedCollections.swift.gyb
- Commit 5da1ce032f496e7be61e37060d093177fc671815 by Nate Cook:
[stdlib] Fix order for Dictionary.keys/values tests
- edit: validation-test/stdlib/Dictionary.swift
- Commit 5aed293cde6d4c27af6a52bb3d4e8fe58b300ec1 by Nate Cook:
[stdlib] Fix test for different hash layouts
- edit: validation-test/stdlib/Dictionary.swift
- Commit f155d499c0501998cae0b07e9bf285c8781c668c by Dave Abrahams:
[stdlib] Drop redundant constraint
- edit: stdlib/public/core/String.swift
- Commit 40b66e5935f39901d0e2a0f1fa9227a3498fad17 by Dave Abrahams:
[stdlib] Implement legacy UTF8 APIs in terms of new components
- edit: stdlib/public/core/UTF8.swift
- edit: stdlib/public/core/Unicode.swift
- edit: stdlib/public/core/CMakeLists.txt
- Commit 2226cbacc0e5a74715f9a40f0f6aae840ab356c1 by Dave Abrahams:
[stdlib] Inline all of IndexingIterator
- edit: stdlib/public/core/Collection.swift
- Commit e8cb3cabd8d909ff52b3c6b38494a7ccd9fa958f by Dave Abrahams:
[stdlib] Inline transcode()
- edit: stdlib/public/core/Unicode.swift
- Commit a9c8d415df95c125dbf3eff80f397eceff1954e0 by Dave Abrahams:
[stdlib] Inline parseScalar
- edit: stdlib/public/core/UTFEncoding.swift
- Commit b1ebc5cd484385a96b4aaae727cacf388b01f1a8 by Dave Abrahams:
[stdlib] Inline legacy UTF8.decode
- edit: stdlib/public/core/Unicode.swift
- Commit 1eb73b3b62c05fbd9cc7dfe8a3212da84338f57f by Itai Ferber:
Add Dictionary and Set {En,De}codable conformance
- edit: stdlib/public/core/Codable.swift
- Commit 4e878a28b6f1fbc200683d62f44d7bd39220c3ba by Dave Abrahams:
[stdlib] Inline _encodeSomeUTF8
- edit: stdlib/public/core/StringUTF8.swift
- Commit fe38ab15793030183f141cd52f27cfa7621c7513 by Dave Abrahams:
[stdlib] Inline var first default implementation
- edit: stdlib/public/core/Collection.swift
- Commit d8b341bc74748df5fb341b5590ed8d48f5facd7e by Greg Parker:
[runtime] Fix alignment of HeapObject header on watchOS.
- edit: stdlib/public/SwiftShims/RefCount.h
- Commit c3391023a4285ebff64f51bab76388ead1939c3e by Dave Abrahams:
[stdlib] Inline integer parsing
- edit: stdlib/public/core/IntegerParsing.swift.gyb
- Commit 28560ec0059be986d422edf0952ad57664b81434 by Doug Gregor:
[Type checker] Warn about NSCoding-conforming classes with unstable
- add: test/decl/protocol/conforms/nscoding.swift
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: include/swift/AST/DiagnosticsSema.def
- edit: test/Interpreter/SDK/archiving_generic_swift_class.swift
- Commit aaf7933a6dd3cf973afd41d45fa98b19b8589305 by Doug Gregor:
Add the @NSKeyedArchiveLegacy attribute.
- edit: include/swift/AST/Attr.def
- edit: lib/AST/Attr.cpp
- edit: test/Interpreter/SDK/archiving_generic_swift_class.swift
- edit: lib/Sema/TypeCheckAttr.cpp
- edit: include/swift/AST/Attr.h
- edit: lib/Sema/TypeCheckDecl.cpp
- edit: test/decl/protocol/conforms/nscoding.swift
- edit: test/IDE/complete_decl_attribute.swift
- edit: lib/Parse/ParseDecl.cpp
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: include/swift/Serialization/ModuleFormat.h
- edit: lib/Serialization/Serialization.cpp
- Commit 60f5a6529e27319d6db1231b66980255ad917003 by Doug Gregor:
Add Fix-Its suggesting @NSKeyedArchiveLegacy when it can be used.
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: test/decl/protocol/conforms/nscoding.swift
- edit: include/swift/AST/DiagnosticsSema.def
- Commit b912c7f7e1c4977e7f37b1397ab2105e52db7dbf by Doug Gregor:
Diagnose attempts to apply @NSKeyedArchiveLegacy to a generic class.
- edit: include/swift/AST/DiagnosticsSema.def
- edit: lib/Sema/TypeCheckAttr.cpp
- edit: test/decl/protocol/conforms/nscoding.swift
- Commit bafa99cd6ebff73de69187c4d03d2ef227543742 by Doug Gregor:
Add the @_staticInitializeObjCMetadata attribute.
- edit: lib/AST/ASTDumper.cpp
- edit: test/decl/protocol/conforms/nscoding.swift
- edit: lib/AST/Attr.cpp
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: lib/Sema/TypeCheckDecl.cpp
- edit: include/swift/AST/Attr.def
- edit: lib/Sema/TypeCheckAttr.cpp
- Commit e6c6470f1e665842cc5fb8065b75e3d7db56617b by Doug Gregor:
Properly warn about local classes that conform to NSCoding.
- edit: include/swift/AST/DiagnosticsSema.def
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: test/decl/protocol/conforms/nscoding.swift
- Commit 9b65c85b4429e882b367013d54913669236a6ae8 by Doug Gregor:
Make diagnostics for NSCoding classes with unstable names more
- edit: include/swift/AST/DiagnosticsSema.def
- edit: test/decl/protocol/conforms/nscoding.swift
- edit: lib/Sema/TypeCheckProtocol.cpp
- Commit bf7a8612e61d93daeef2e100faa77f09da80b096 by Doug Gregor:
Add @NSKeyedArchiveSubclassesOnly to suppress NSCoding unstable name
- edit: lib/Sema/TypeCheckAttr.cpp
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: test/IDE/complete_decl_attribute.swift
- edit: test/decl/protocol/conforms/nscoding.swift
- edit: include/swift/AST/DiagnosticsSema.def
- edit: include/swift/AST/Attr.def
- edit: test/Interpreter/SDK/archiving_generic_swift_class.swift
- edit: lib/Sema/TypeCheckDecl.cpp
- Commit c805da7291c65083789a0b3427d7a0eb8aac44de by Doug Gregor:
Improve/clarify the inference of @_staticInitializeObjCMetadata.
- edit: test/decl/protocol/conforms/nscoding.swift
- edit: lib/Sema/TypeCheckProtocol.cpp
- Commit 2ad2f26024e159dd14f80440fc55ca06eda25510 by Greg Parker:
[runtime] Fix assignment of Any with mismatched types.
- edit: stdlib/public/runtime/ExistentialMetadataImpl.h
- Commit d8be7ae29efe636f856e0bc518b10ec668e875cd by github:
Use CF for Hashing (#9203)
- edit: stdlib/public/stubs/SwiftNativeNSXXXBase.mm.gyb
- edit: stdlib/public/core/StringHashable.swift
- Commit 2b097f0a07154e228f508551be147e7f46423d30 by practicalswift:
[swiftc (38 vs. 5515)] Add crasher in
- add: validation-test/compiler_crashers/28743-swift-typechecker-substmembertypewithbase-swift-moduledecl-swift-typedecl-swift-.swift
- Commit 4692ace3a8beff90fb1efeea672c1edaaf304f4b by Arnold Schwaighofer:
Add a test case that exercises opaque existential box's value witness
- add: test/Interpreter/dictOfAny.swift
- Commit fc4b5fa25d98ca65e94e7eca690778329f8a937a by Erik Eckstein:
benchmarks: add a blackHole function, which can be used to prevent the
- edit: benchmark/utils/TestsUtils.swift
- Commit 3c4fd12a3fbf92742cd61790b381ec0b67da3213 by Erik Eckstein:
benchmarks: Prevent the optimizer to completely optimize away Character
- edit: benchmark/single-source/CharacterLiteralsSmall.swift
- Commit 155db0a4bd698ba17697acea76bfe7ad7676d88b by Erik Eckstein:
Let Character literals, which fit into 64 bits, be folded into a single
- add: test/SILOptimizer/character_literals.swift
- edit: stdlib/public/core/CTypes.swift
- edit: stdlib/public/core/Character.swift
- Commit 9e3dc062a387023a638a88bc9fcb6fff7e1f3cb7 by practicalswift:
[swiftc (39 vs. 5515)] Add crasher in
- add: validation-test/compiler_crashers/28744-swift-genericenvironment-maptypeoutofcontext-swift-genericenvironment-swift-type.swift
- Commit bf91dc989f42056324d4c03099529d69246c352b by Arnold Schwaighofer:
Add unit tests for the assignWith value witnesses of opaque existential
- edit: unittests/runtime/Metadata.cpp
- Commit d8f1caf4a694fe76d2f33c0dca2539626d723684 by Dave Abrahams:
Inline all the new low-level bits
- edit: stdlib/public/core/UnicodeParser.swift
- edit: stdlib/public/core/UTF8.swift
- Commit 285addb92d077bce10115dffeea6dff58d12eb0c by Erik Eckstein:
Switch back to the old mangling for ObjC runtime names.
- add: lib/Demangling/OldRemangler.cpp
- edit: include/swift/Demangling/Demangle.h
- edit: lib/Demangling/CMakeLists.txt
- edit: lib/AST/ASTMangler.cpp
- Commit c4002a9398ccb43c6a5114b8c68d30f09ad86877 by Erik Eckstein:
Use the old mangling for generic ObjC runtime names, which are generated
- edit: stdlib/public/runtime/Metadata.cpp
- edit: test/stdlib/RuntimeObjC.swift
- edit: stdlib/public/runtime/CMakeLists.txt
- edit: test/Interpreter/SDK/archiving_generic_swift_class.swift
- Commit ddecb6444b609fcf9fee66ee3a87e4e307aed876 by Erik Eckstein:
Add a test to check the archive compatibility between swift versions.
- add: test/Interpreter/SDK/archive_compatibility.swift
- add: test/Interpreter/SDK/Inputs/test.arc
- Commit 3564733d1af6670a16344b175f08b7587fe94e38 by Arnold Schwaighofer:
Add more unit tests for the assignWith value witnesses of opaque
- edit: unittests/runtime/Metadata.cpp
- Commit e4073daffee0ab0030d30733452152bfda0dae38 by practicalswift:
Add reproducibility tests for -emit-module, -emit-sib, -emit-sibgen and
- add: test/reproducible-builds/swiftc-emit-sib.swift
- add: test/reproducible-builds/swiftc-emit-sibgen.swift
- add: test/reproducible-builds/swiftc-emit-module.swift
- add: test/reproducible-builds/swiftc-emit-tbd.swift
- Commit 57efeef1af05015fa81b9b66e6d4a92d81390695 by Xi Ge:
[test] Add range info test for rdar://31692218
- add: test/IDE/range_info_expr.swift
- Commit dcbc2d198c9dd586f13b739b294e69cc941cc211 by practicalswift:
[swiftc (40 vs. 5515)] Add crasher in swift::Expr::walk(...)
- add: validation-test/compiler_crashers/28745-ty-getnominalorboundgenericnominal-ty-is-dynamicselftype-ty-isexistentialtype-ty.swift
- Commit 16c500d1004322fd6728a5bded5494c29d2fd7e7 by John McCall:
Fix IRGenSIL to always look through DynamicallyEnforcedAddress.
- edit: lib/IRGen/IRGenSIL.cpp
- edit: test/IRGen/access_markers.sil
- Commit 7e00d9a6f4f432b39f6534ebc7a21b3fc5b0ff92 by practicalswift:
[swiftc (41 vs. 5515)] Add crasher in
- add: validation-test/compiler_crashers/28746-second-missing-second-type.swift
- Commit cadc405ae0e28f15a4ad4e22f296b7f50ddf8f50 by Mishal Shah:
[Update Checkout] Use new swift-4.0-branch for all projects in update
- edit: utils/update-checkout-config.json
- Commit 958b9ad2f1e1437fc47f3d7e6d47e85e87e069d2 by Arnold Schwaighofer:
Tests for OpaqueBoxedExistentials initWithXXX value witnesses
- edit: unittests/runtime/Metadata.cpp
- Commit 91911991cf9ff70aa6af89320eef14d314464ede by Joe Shajrawi:
Large loadable types: Fixes a bug wherein we did not update an Apply’s
- edit: lib/IRGen/LoadableByAddress.cpp
- add: test/IRGen/big_types_corner_cases.swift
- Commit 97110db66ce8122c74c9bf6883178dc9755220a1 by github:
[ClangImporter] Break infinite recursion when failing to import. (#9246)
- edit: lib/ClangImporter/ImportDecl.cpp
- Commit c8d3506e5546214f766f24cb6c1a96ceac3b36d8 by github:
Revert "[Mangling] Uniformly use "So" for imported decls." (#9233)
- edit: lib/AST/ASTMangler.cpp
- edit: lib/Demangling/OldDemangler.cpp
- edit: test/IRGen/foreign_types.sil
- edit: lib/Demangling/Demangler.cpp
- edit: test/Serialization/sil-imported-enums.swift
- edit: test/Demangle/Inputs/manglings.txt
- edit: test/SILGen/imported_struct_array_field.swift
- edit: test/IRGen/objc_super.swift
- edit: test/SILGen/objc_enum.swift
- edit: test/IRGen/abitypes.swift
- edit: test/IRGen/protocol_conformance_records_objc.swift
- edit: test/IRGen/objc_class_export.swift
- edit: lib/Demangling/Remangler.cpp
- edit: test/IRGen/newtype.swift
- edit: test/SILGen/objc_bridging.swift
- edit: test/SILGen/objc_bridging_any.swift
- edit: test/IRGen/objc.swift
- edit: test/IRGen/partial_apply_objc.sil
- edit: test/IRGen/objc_structs.swift
- edit: test/IRGen/c_layout.sil
- edit: test/IRGen/objc_ns_enum.swift
- edit: test/IRGen/reflection_metadata_imported.swift
- edit: lib/Demangling/OldRemangler.cpp
- edit: test/APINotes/versioned.swift
- edit: test/IRGen/objc_generic_class_metadata.sil
- edit: test/SILGen/external_definitions.swift
- edit: test/SILGen/mangling.swift
- edit: stdlib/public/runtime/Demangle.cpp
- edit: test/SILOptimizer/predictable_memopt_unreferenceable_storage.swift
- edit: test/stdlib/RuntimeObjC.swift
- edit: test/SILGen/newtype.swift
- edit: test/SILGen/c_materializeForSet_linkage.swift
- edit: test/SourceKit/DocSupport/doc_clang_module.swift.response
- edit: lib/RemoteAST/RemoteAST.cpp
- edit: test/SILGen/cf.swift
- edit: lib/IDE/TypeReconstruction.cpp
- edit: test/SILGen/objc_imported_generic.swift
- edit: test/ClangImporter/ctypes_ir.swift
- edit: test/Reflection/typeref_decoding_objc.swift
- edit: test/SILGen/cf_members.swift
- edit: include/swift/Strings.h
- Commit beb5347f9511fed30a6e30e1c018104e0869d30a by github:
[Migrator] During de-serialization, remove duplicated API diff items
- edit: include/swift/IDE/APIDigesterData.h
- edit: test/Migrator/API.json
- edit: lib/IDE/APIDigesterData.cpp
- Commit b7404a827695066de32ebb1c87af7ad16f5329ae by Jordan Rose:
[update-checkout] Allow --dump-hashes to skip directories.
- edit: utils/update_checkout.py
- Commit 76b9f21f593bcc39a68c51ac4ed4fa5f395fb344 by Joe Groff:
SIL: KeyPathInst has to have side effects, since it retains.
- edit: include/swift/SIL/SILNodes.def
- Commit 70f15b3c5e14a1819403a6b156f0b508ca64ebb9 by Joe Groff:
SIL: Serialization for KeyPathInsts.
- edit: lib/Serialization/DeserializeSIL.cpp
- edit: lib/Serialization/SILFormat.h
- edit: include/swift/Serialization/ModuleFormat.h
- add: test/SIL/Serialization/keypath.sil
- edit: lib/Serialization/SerializeSIL.cpp
- Commit c6f8d4781da24c241688cd92bac133481b1a4a6b by Xi Ge:
migrator: correct a misplaced assertion. rdar://31980368
- edit: lib/IDE/APIDigesterData.cpp
- Commit bf23ed2d18571a3316ae762a68d2935e3fa131cd by Slava Pestov:
Add a regression test
- add: validation-test/compiler_crashers_2_fixed/0093-sr-4471.swift
- Commit 204f6f2317033eb0d3ec91e8fca0f5a6b023d18e by Doug Gregor:
Generalize TypeChecker::checkGenericArguments().
- edit: lib/Sema/TypeCheckType.cpp
- edit: lib/Sema/TypeChecker.h
- edit: lib/Sema/TypeCheckProtocol.cpp
- edit: lib/Sema/TypeCheckGeneric.cpp
- Commit dbb973aab40f1fe8d5725632d4d592ca9c75bfec by Doug Gregor:
[AST] Allow tentative type witnesses to be plumbed through SubstOptions.
- edit: include/swift/AST/Type.h
- edit: lib/AST/ProtocolConformance.cpp
- edit: include/swift/AST/ProtocolConformance.h
- edit: lib/AST/Type.cpp
- Commit 3dbfa9789f91abe56e1403d7f428722d993140b7 by Doug Gregor:
[Associated type inference] Check solutions against full requirement
- edit: test/Constraints/associated_types.swift
- edit: test/decl/protocol/conforms/failure.swift
- edit: lib/Sema/TypeCheckProtocol.cpp
- delete: validation-test/compiler_crashers/28737-genericenv-nullptr-too-much-circularity.swift
- add: validation-test/compiler_crashers_fixed/28737-genericenv-nullptr-too-much-circularity.swift
- edit: test/Generics/associated_type_where_clause.swift
- Commit c4804681255fc21c0c04bbbfd28ca8ec8ca0e7b7 by Frederic Riss:
Revert "[CodeGen][ObjC] Don't retain captured Objective-C pointers at
- edit: lib/CodeGen/CGBlocks.cpp
- edit: lib/CodeGen/CGObjC.cpp
- edit: lib/CodeGen/CodeGenFunction.h
- edit: test/CodeGenObjC/arc-foreach.m
- edit: test/CodeGenObjC/arc-blocks.m
- Commit 6a01f269278794bacb521bd210fd2d6614dab71f by Frederic Riss:
Revert "[ObjC] Disallow vector parameters and return values in
- edit: lib/Sema/SemaDeclObjC.cpp
- edit: lib/AST/DeclBase.cpp
- edit: include/clang/Basic/DiagnosticSemaKinds.td
- edit: include/clang/AST/DeclBase.h
- delete: test/SemaObjC/x86-method-vector-values.m