- Commit cdbdb7a6e86fdb94cac6dbcf43e2bfd4ecee25d1 by Joe Groff:
stdlib: Skeleton implementation of proposed KeyPath API.
- edit: stdlib/public/core/GroupInfo.json
- add: test/stdlib/KeyPathImplementation.swift
- add: stdlib/public/core/KeyPath.swift
- edit: test/stdlib/collection-combinatorics.swift.gyb
- edit: stdlib/public/core/CMakeLists.txt
- Commit 04a6d23f7e5b2de9cc8314dafd23b0506ce54a04 by Joe Groff:
KeyPaths: Equatable/Hashable implementation.
- edit: stdlib/public/core/KeyPath.swift
- edit: test/stdlib/KeyPathImplementation.swift
- Commit 895ce94ae5cf08eb8a1c9e12bbac58fe839caa5c by Joe Groff:
KeyPaths: implement "appending"
- edit: test/stdlib/KeyPathImplementation.swift
- edit: stdlib/public/core/KeyPath.swift
- Commit 5ed6bd831ea4eb6a5f72fb27c98f988a1fcf0347 by Joe Groff:
KeyPaths: Dynamic appending between possibly-mismatched types.
- edit: stdlib/public/core/KeyPath.swift
- edit: test/stdlib/KeyPathImplementation.swift
- add: test/stdlib/KeyPathAppending.swift
- Commit eb5d006e40e907ae16e105e48b04988fc15e771d by Joe Groff:
Rename ObjCKeyPathExpr -> KeyPathExpr.
- edit: include/swift/AST/ExprNodes.def
- edit: lib/AST/ASTWalker.cpp
- edit: lib/AST/Expr.cpp
- edit: lib/Sema/CSApply.cpp
- edit: lib/Sema/TypeChecker.h
- edit: lib/Syntax/LegacyASTTransformer.cpp
- edit: include/swift/Sema/IDETypeChecking.h
- edit: include/swift/AST/Expr.h
- edit: lib/SILGen/SILGenExpr.cpp
- edit: include/swift/Parse/CodeCompletionCallbacks.h
- edit: lib/Sema/TypeCheckExprObjC.cpp
- edit: lib/Sema/TypeChecker.cpp
- edit: lib/IDE/CodeCompletion.cpp
- edit: lib/Sema/CSGen.cpp
- edit: lib/AST/ASTDumper.cpp
- edit: lib/Parse/ParseExpr.cpp
- edit: lib/Sema/TypeCheckStmt.cpp
- Commit a5ca6ccd61d072228e384fe9eded4daa0e556e19 by Joe Groff:
Restructure KeyPathExpr to allow more kinds of components.
- edit: lib/AST/ASTWalker.cpp
- edit: lib/Sema/CSGen.cpp
- edit: include/swift/AST/Expr.h
- edit: test/expr/unary/keypath/keypath.swift
- edit: lib/Syntax/LegacyASTTransformer.cpp
- edit: lib/Sema/TypeCheckExprObjC.cpp
- edit: lib/Parse/ParseExpr.cpp
- edit: lib/Sema/CSApply.cpp
- edit: include/swift/AST/DiagnosticsSema.def
- edit: lib/AST/ASTDumper.cpp
- edit: lib/AST/Expr.cpp
- edit: lib/SILGen/SILGenExpr.cpp
- Commit e3046d6f7545ccb3503c93879b90c997b3e86259 by Joe Groff:
Parsing for native keypaths.
- edit: lib/AST/Expr.cpp
- edit: include/swift/AST/DiagnosticsParse.def
- edit: include/swift/AST/Expr.h
- edit: include/swift/Syntax/TokenKinds.def
- edit: lib/AST/ASTDumper.cpp
- edit: lib/Parse/ParseExpr.cpp
- edit: lib/AST/ASTWalker.cpp
- edit: lib/Parse/Lexer.cpp
- edit: include/swift/Parse/Parser.h
- edit: lib/Sema/TypeCheckExprObjC.cpp
- edit: test/expr/unary/keypath/keypath.swift
- add: test/expr/unary/keypath/keypath-objc.swift
- Commit fc23781906eee0de18d18f57ca49078e891d41f9 by Joe Groff:
Sema: First pass at type-checking Swift key paths.
- edit: lib/Sema/TypeChecker.cpp
- edit: lib/Sema/CSGen.cpp
- edit: lib/Parse/ParseExpr.cpp
- edit: include/swift/AST/Expr.h
- edit: lib/Sema/TypeChecker.h
- edit: test/expr/unary/keypath/keypath.swift
- edit: include/swift/AST/DiagnosticsSema.def
- edit: include/swift/AST/KnownStdlibTypes.def
- edit: lib/Sema/ConstraintLocator.cpp
- edit: lib/Sema/ConstraintLocator.h
- edit: lib/AST/ASTDumper.cpp
- edit: lib/Sema/TypeCheckExprObjC.cpp
- edit: lib/Sema/CSApply.cpp
- Commit 638759ac28956413f96d5fcbfbd02ac2e74150cd by Joe Groff:
SIL: Add a "keypath" instruction for summoning literal keypath objects.
- edit: lib/SIL/SILValue.cpp
- edit: include/swift/SIL/SILCloner.h
- edit: include/swift/AST/DiagnosticsParse.def
- edit: lib/IRGen/IRGenSIL.cpp
- edit: include/swift/SIL/SILBuilder.h
- edit: lib/SIL/SILOwnershipVerifier.cpp
- add: test/SIL/Parser/keypath.sil
- edit: lib/Serialization/DeserializeSIL.cpp
- edit: lib/Sema/CSApply.cpp
- edit: lib/SIL/SILPrinter.cpp
- edit: lib/Parse/ParseSIL.cpp
- edit: include/swift/SIL/SILInstruction.h
- edit: lib/Serialization/SerializeSIL.cpp
- edit: include/swift/SIL/SILNodes.def
- edit: lib/SIL/SILInstructions.cpp
- Commit 18a6ca271a222f73775dc45fb39be5b7da0549bd by Joe Groff:
SILGen: Lower KeyPathExprs to KeyPathInsts.
- edit: test/SIL/Parser/keypath.sil
- edit: lib/SILGen/SILGenExpr.cpp
- add: test/SILGen/keypaths.swift
- Commit f45abc01223ad473665694757612221327f919ad by Joe Groff:
KeyPaths: Move layout constants to a shims header for sharing with
- edit: stdlib/public/core/KeyPath.swift
- add: stdlib/public/SwiftShims/KeyPath.h
- edit: stdlib/public/SwiftShims/module.modulemap
- edit: stdlib/public/SwiftShims/CMakeLists.txt
- Commit f929c29bdf21899d07d322c9522b5eff19d3b888 by Joe Groff:
IRGen: Lower keypath instructions to patterns for the runtime to
- edit: lib/IRGen/GenStruct.h
- edit: lib/IRGen/GenClass.h
- edit: include/swift/Runtime/RuntimeFunctions.def
- add: include/swift/ABI/KeyPath.h
- edit: stdlib/public/SwiftShims/KeyPath.h
- edit: lib/SILGen/SILGenExpr.cpp
- edit: include/swift/SIL/SILInstruction.h
- add: lib/IRGen/GenKeyPath.cpp
- edit: lib/IRGen/CMakeLists.txt
- add: test/IRGen/keypaths.sil
- edit: lib/IRGen/IRGenSIL.cpp
- edit: lib/Parse/ParseSIL.cpp
- edit: test/SILGen/keypaths.swift
- edit: lib/IRGen/GenClass.cpp
- edit: test/SIL/Parser/keypath.sil
- edit: stdlib/public/core/KeyPath.swift
- edit: lib/IRGen/IRGenFunction.h
- edit: lib/SIL/SILPrinter.cpp
- Commit af34a326c43346908724f856207991559946f0ac by Joe Groff:
SIL: Inlining cost for KeyPathInst.
- edit: lib/SILOptimizer/Utils/SILInliner.cpp
- Commit d42f2049f717ac8227811cf51596989ced888a55 by Joe Groff:
KeyPaths: Implement in-place instantiation of invariant key paths.
- edit: include/swift/Runtime/RuntimeFunctions.def
- edit: lib/IRGen/GenKeyPath.cpp
- edit: lib/SIL/SILOwnershipVerifier.cpp
- edit: stdlib/public/SwiftShims/HeapObject.h
- edit: lib/SIL/SILValue.cpp
- edit: test/stdlib/KeyPathImplementation.swift
- edit: stdlib/public/runtime/Once.cpp
- edit: lib/AST/Builtins.cpp
- edit: test/IRGen/keypaths.sil
- edit: lib/IRGen/GenMeta.cpp
- edit: include/swift/Runtime/Once.h
- edit: lib/IRGen/GenBuiltin.cpp
- edit: stdlib/public/core/KeyPath.swift
- edit: include/swift/AST/Builtins.def
- add: test/stdlib/KeyPath.swift
- edit: lib/SILGen/SILGenExpr.cpp
- edit: stdlib/public/SwiftShims/KeyPath.h
- edit: stdlib/public/stubs/GlobalObjects.cpp
- Commit 631bb632d093569e0fc236bc001d056eed788bd5 by Joe Groff:
KeyPaths: Dummy out an `AnyKeyPath._kvcKeyPathString` property for ObjC
- edit: stdlib/public/core/KeyPath.swift
- Commit 964dc0e174db510ff2b5d7b3a5257124dbc0f606 by Joe Groff:
Sema: (wip) Overload resolution for keypath subscripts.
- edit: lib/Sema/CSGen.cpp
- edit: include/swift/AST/KnownIdentifiers.def
- edit: lib/AST/Expr.cpp
- edit: lib/Sema/CSSolver.cpp
- edit: lib/Sema/Constraint.cpp
- edit: include/swift/AST/Expr.h
- edit: lib/Sema/Constraint.h
- edit: lib/AST/ASTWalker.cpp
- edit: lib/Sema/ConstraintSystem.h
- edit: lib/Sema/OverloadChoice.h
- edit: test/expr/unary/keypath/keypath.swift
- edit: lib/Sema/TypeCheckConstraints.cpp
- edit: include/swift/AST/ExprNodes.def
- edit: lib/SILGen/SILGenExpr.cpp
- edit: lib/Syntax/LegacyASTTransformer.cpp
- edit: lib/Sema/CSDiag.cpp
- edit: lib/Sema/CSApply.cpp
- edit: lib/Sema/CSSimplify.cpp
- edit: lib/AST/ASTDumper.cpp
- edit: lib/Sema/CSRanking.cpp
- edit: lib/Sema/ConstraintSystem.cpp
- Commit 39a084936215f06cac5d56af426e8ad881e68a92 by Joe Groff:
SILGen: Codegen for key path applications.
- edit: lib/SILGen/SILGenExpr.cpp
- add: test/SILGen/keypath_application.swift
- edit: lib/SILGen/SILGenLValue.cpp
- edit: include/swift/AST/KnownDecls.def
- edit: stdlib/public/core/KeyPath.swift
- edit: test/stdlib/KeyPathImplementation.swift
- edit: lib/SILGen/LValue.h
- Commit 7eebb27153c99aeea8e625d3cd083f1fbda18830 by Joe Groff:
Sema: Infer the specific type of a key path literal from the mutability
- edit: lib/Sema/CSSolver.cpp
- edit: lib/Sema/Constraint.h
- edit: lib/Sema/ConstraintSystem.h
- edit: lib/Sema/CSGen.cpp
- edit: include/swift/AST/KnownStdlibTypes.def
- edit: lib/Sema/OverloadChoice.h
- edit: lib/Sema/Constraint.cpp
- edit: test/expr/unary/keypath/keypath.swift
- edit: lib/Sema/CSSimplify.cpp
- Commit d6ced9d9e401ed1fc8bb5954cd0f6964cafa9f1a by Joe Groff:
SIL: Rework KeyPathInst to accommodate computed components.
- edit: lib/IRGen/IRGenSIL.cpp
- edit: include/swift/AST/DiagnosticsParse.def
- edit: lib/SILGen/SILGenExpr.cpp
- edit: include/swift/SIL/SILCloner.h
- edit: lib/IRGen/GenKeyPath.cpp
- edit: test/IRGen/keypaths.sil
- edit: include/swift/SIL/SILInstruction.h
- edit: include/swift/SIL/SILModule.h
- edit: test/SIL/Parser/keypath.sil
- edit: lib/SIL/SILPrinter.cpp
- edit: lib/IRGen/IRGenModule.h
- edit: lib/Parse/ParseSIL.cpp
- edit: lib/SIL/SILInstructions.cpp
- edit: include/swift/SIL/SILBuilder.h
- edit: lib/SIL/SILVerifier.cpp
- edit: test/SILGen/keypaths.swift
- edit: lib/IRGen/IRGenFunction.h
- Commit 9ade4876891f541ac92c93728aee036a565b02c6 by Joe Groff:
SIL: Allow computed components in KeyPathInst.
- edit: include/swift/AST/TypeAlignments.h
- edit: test/SIL/Parser/keypath.sil
- edit: lib/IRGen/GenKeyPath.cpp
- edit: include/swift/SIL/SILInstruction.h
- edit: lib/SIL/SILPrinter.cpp
- edit: lib/SIL/SILInstructions.cpp
- edit: lib/SIL/SILVerifier.cpp
- edit: lib/Parse/ParseSIL.cpp
- Commit ee66ff35c5cac84189a2d061556e2ecaf628f383 by Joe Groff:
SILGen: Lower computed property key path components.
- edit: lib/Demangling/NodePrinter.cpp
- edit: lib/Demangling/Remangler.cpp
- edit: include/swift/SIL/SILInstruction.h
- edit: lib/Demangling/Demangler.cpp
- edit: lib/AST/ASTMangler.cpp
- edit: include/swift/AST/ASTMangler.h
- edit: test/SILGen/keypaths.swift
- edit: lib/SIL/SILVerifier.cpp
- edit: include/swift/Demangling/DemangleNodes.def
- edit: lib/SIL/SILInstructions.cpp
- edit: lib/SILGen/SILGenExpr.cpp
- edit: lib/SIL/SILPrinter.cpp
- edit: lib/Parse/ParseSIL.cpp
- Commit 25eaa094632b56465379ccca3889c927113e1d0b by Joe Groff:
wip irgen generic/computed key paths
- edit: lib/IRGen/GenFunc.cpp
- edit: lib/IRGen/GenKeyPath.cpp
- edit: lib/IRGen/GenProto.cpp
- edit: lib/IRGen/NecessaryBindings.h
- Commit aaddafa55b8511e2d8988e0a34c60acd90560409 by Joe Groff:
IRGen: Support for generic key path patterns.
- edit: lib/IRGen/GenericRequirement.h
- edit: test/IRGen/keypaths.sil
- edit: lib/IRGen/GenStruct.h
- edit: lib/IRGen/GenClass.cpp
- edit: lib/IRGen/GenStruct.cpp
- edit: lib/IRGen/IRGenModule.h
- edit: lib/IRGen/GenKeyPath.cpp
- edit: lib/IRGen/IRGenSIL.cpp
- edit: lib/IRGen/GenProto.cpp
- Commit 0bb83bb18524e988defcc193369ca8b4cf871965 by Joe Groff:
KeyPaths: Support out-of-place instantiation of generic key paths.
- edit: lib/IRGen/GenKeyPath.cpp
- edit: stdlib/public/core/KeyPath.swift
- edit: test/stdlib/KeyPath.swift
- edit: lib/IRGen/IRGenSIL.cpp
- Commit 4522cd09aa9ce199e685230431b31641cbc781df by Joe Groff:
SILGen: Tweak key path computed property lowering to produce a
- edit: test/SIL/Parser/keypath.sil
- edit: lib/Demangling/NodePrinter.cpp
- edit: test/SILGen/keypaths.swift
- edit: include/swift/AST/ASTMangler.h
- edit: lib/SILGen/SILGenExpr.cpp
- edit: lib/AST/ASTMangler.cpp
- edit: lib/Parse/ParseSIL.cpp
- edit: lib/SIL/SILVerifier.cpp
- edit: lib/Demangling/Demangler.cpp
- edit: lib/IRGen/GenKeyPath.cpp
- Commit a6cd471c2bbfa7c91be15feb24a2f069a1665425 by Joe Groff:
IRGen/stdlib: Instantiate non-generic computed key path components.
- edit: test/IRGen/keypaths.sil
- edit: test/stdlib/KeyPath.swift
- edit: lib/Parse/ParseSIL.cpp
- edit: lib/IRGen/GenMeta.cpp
- edit: stdlib/public/SwiftShims/KeyPath.h
- edit: stdlib/public/core/KeyPath.swift
- edit: lib/Sema/CSApply.cpp
- edit: lib/SIL/SILInstructions.cpp
- edit: include/swift/ABI/KeyPath.h
- edit: lib/IRGen/GenKeyPath.cpp
- edit: include/swift/AST/DiagnosticsSema.def
- edit: include/swift/SIL/SILInstruction.h
- edit: lib/IRGen/GenMeta.h
- Commit e9f70732a623471f52a232dac6041d5a78486274 by Joe Groff:
Mark execution tests for keypaths with PTRSIZE=64 requirement.
- edit: test/stdlib/KeyPath.swift
- edit: test/stdlib/KeyPathImplementation.swift
- edit: test/SILGen/keypaths.swift
- Commit cdb54ccadff97acb15c89f195856e0d425f51b00 by Joe Groff:
Put keypaths behind a flag.
- edit: include/swift/Basic/LangOptions.h
- edit: test/stdlib/KeyPath.swift
- edit: test/expr/unary/keypath/keypath.swift
- edit: lib/Sema/CSSimplify.cpp
- edit: test/stdlib/KeyPathImplementation.swift
- edit: include/swift/Option/FrontendOptions.td
- edit: lib/Parse/ParseExpr.cpp
- edit: test/SILGen/keypaths.swift
- edit: test/SILGen/keypath_application.swift
- edit: lib/Frontend/CompilerInvocation.cpp
- Commit 517c45aa3d23587e800030b686d5159399cc57f5 by Joe Groff:
Followups from merging master
- edit: lib/SILGen/SILGenExpr.cpp
- edit: lib/Sema/Constraint.cpp
- edit: lib/Sema/CSApply.cpp
- edit: lib/Demangling/NodePrinter.cpp
- edit: test/stdlib/KeyPathAppending.swift
- edit: lib/SIL/SILVerifier.cpp
- Commit 3a9edac4fbf6a3ed16f8c5f393d4a1dccc0716b4 by Roman Levenstein:
[generic-specializer] Remove workarounds
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit c23b423baeae79c2a3a62d2c3e416a392be6fc1f by Roman Levenstein:
[generic-specializer] Move checkSpecializationRequirements around
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit 34e366a15075f351022e51c7acee357c142fa183 by Roman Levenstein:
[generic-specializer] Improve debug prints
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit 3d24657b3b7eb2e8c3df24c64379dc941bc878a0 by Roman Levenstein:
[generic-specializer] Fix the condition for bailing on generic
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit 76b66474146c2441056c169a58329328058e3054 by Roman Levenstein:
[generic-specializer] Fix bugs in the implementation of partial
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit ce8d986999511621f344cf7052e0ee504f9a07e8 by Roman Levenstein:
[generic-specializer] Rename OriginalF into Callee
- edit: include/swift/SILOptimizer/Utils/Generics.h
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit f28e28c0a84aa52a476cfa652ba27db66a10d955 by Roman Levenstein:
[generic-specializer] Big re-factoring of the partial specialization
- edit: lib/SILOptimizer/Utils/Generics.cpp
- edit: include/swift/SILOptimizer/Utils/Generics.h
- Commit 0ba522f1898af472df3e1f51543f9e506ce4cabe by Roman Levenstein:
[generic-specializer] Fix comments
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit 686b83b6cbc1bda51909ad263d7abd5fda65a07e by Roman Levenstein:
[generic-specializer] Improve comments
- edit: include/swift/SILOptimizer/Utils/Generics.h
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit f1362a3a1430235d6a194466f6d7638027ce9bbe by Roman Levenstein:
[generic-specializer] Code clean-ups
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit 8fb8cc4367b1b408a7e5f711a377414cd8a7793c by Roman Levenstein:
[generic-specializer] Cosmetic renaming of some vars and functions to
- edit: lib/SILOptimizer/Utils/Generics.cpp
- edit: include/swift/SILOptimizer/Utils/Generics.h
- Commit 39f1a5904917b4c6e3f97660d711524dc8e43007 by Joe Groff:
Fix Linux build.
- edit: stdlib/public/runtime/Once.cpp
- Commit c742f88434f020c28c0a8e5d5a972e0ccebe5ef8 by Joe Groff:
Work around a bug in the closure specializer with methods that return
- edit: test/stdlib/KeyPathImplementation.swift
- edit: stdlib/public/core/KeyPath.swift
- Commit 599cca2f1b4ce358b3e32dbfd197fdee789e2dbf by Arnold Schwaighofer:
ASTContext: Add trivially representable types even if we loaded their
- edit: lib/AST/ASTContext.cpp
- add: test/Interpreter/late_import_cgfloat.swift
- Commit c9aa05c3c6ee4bea534c2b928069cc97718a6d9c by Arnold Schwaighofer:
[benchmark] Move existential tests out of precommit. They are not very
- edit: benchmark/utils/main.swift
- edit: benchmark/scripts/generate_harness/generate_harness.py
- Commit 315b2aba49a67d02b501ca96a6a3daacc50ba09c by Roman Levenstein:
[sil-combine] Canonicalize boolean equality checks
- edit: lib/SILOptimizer/SILCombiner/SILCombinerBuiltinVisitors.cpp
- edit: test/SILOptimizer/sil_combine.sil
- Commit 616ef49d5783005d854a46ce51cfd11dc8e2edaf by Roman Levenstein:
[sil-combine] Handle more patterns in cond_br conditions
- edit: lib/SILOptimizer/SILCombiner/SILCombinerMiscVisitors.cpp
- edit: test/SILOptimizer/sil_combine.sil
- Commit 2326cb7f386c41d577b9b98b55099942f72a9380 by Roman Levenstein:
[constant-propagation] Simplify comparisons with Int.max
- edit: lib/SILOptimizer/Mandatory/ConstantPropagation.cpp
- edit: test/SILOptimizer/constant_propagation.sil
- Commit e1c3538ecb2399e28bf659817748f62788195c44 by Roman Levenstein:
redundundant-overflow-check-removal improvements
- edit: test/SILOptimizer/cropoverflow.sil
- edit: lib/SILOptimizer/Transforms/RedundantOverflowCheckRemoval.cpp
- Commit 4db092ec81090667e6f49c29f9aa3ffc4fe14f66 by Nathan Hawes:
[migrator] Add test for objc inference changes (fixit migration)
- add: test/Migrator/objc_inference.swift
- Commit 8ff9bb602ff9bd7087c5865fe24ed8be890aa17e by Michael Ilseman:
[stdlib] Speed up char iteration on ASCII strings.
- edit: stdlib/public/core/StringCharacterView.swift
- Commit 8b5777fdd2f3ce08c22dc2b209c875d96a6ae578 by Michael Ilseman:
[stdlib] Bug fix in reverse ASCII grapheme breaking
- edit: stdlib/public/core/StringCharacterView.swift
- edit: test/stdlib/Character.swift
- Commit 87e00762725b06b16041fa0c88d3421ac1624a1b by Michael Ilseman:
[stdlib] un-_fastPath ASCII path, it implies coldness of other branch
- edit: stdlib/public/core/StringCharacterView.swift
- Commit 5b755412e5a8fac67d338aa5e9f2b73fcb591c5d by Doug Gregor:
[Stdlib] Eliminate LazyFilterIndex.
- edit: test/stdlib/Filter.swift
- edit: stdlib/public/core/Filter.swift.gyb
- edit: validation-test/stdlib/Lazy.swift.gyb
- Commit 72e8642a059cb3e5f6e740e551a018d825843af9 by David Farler:
[Migrator] Refactor fixit filter from JSONFixitWriter to common code
- edit: lib/FrontendTool/FrontendTool.cpp
- edit: include/swift/Migrator/FixitApplyDiagnosticConsumer.h
- add: include/swift/Migrator/FixitFilter.h
- edit: lib/Migrator/FixitApplyDiagnosticConsumer.cpp
- Commit fd8d4886622ce57fda66040d2541017a1713a721 by Joe Groff:
Work around an optimizer bug with inlining generic functions invoked
- edit: stdlib/public/core/KeyPath.swift
- Commit a4c1bc9e5e61d4e56f49af698ddf33adea3fd171 by Arnold Schwaighofer:
Make python lint happy
- edit: benchmark/scripts/generate_harness/generate_harness.py
- Commit 154896f77c9b9b9b7c24a4d2744b3af39b5eec2b by Arnold Schwaighofer:
IRGen: Speculatively try to fix test case in resilient build
- edit: test/IRGen/enum_derived.swift
- Commit a03c40cb2c800b80d307848a370fd35232bdfb1a by github:
[ClangImporter] Classify enums using flag_enum and enum_extensibility
- edit: lib/ClangImporter/ImportEnumInfo.cpp
- edit: test/IDE/Inputs/swift_name.h
- edit: test/Inputs/clang-importer-sdk/usr/include/user_objc.h
- edit: test/ClangImporter/Inputs/enum-objc.h
- edit: test/ClangImporter/Inputs/custom-modules/SwiftName.h
- edit: test/ClangImporter/enum.swift
- edit: test/IDE/Inputs/print_clang_header_swift_name.h
- edit: lib/PrintAsObjC/PrintAsObjC.cpp
- Commit 13c950d7c2800d731c8fb17892f85e1c38575378 by Jordan Rose:
[Serialization] Handle UnboundGenericTypes of generic typealiases.
- edit: lib/Serialization/Deserialization.cpp
- edit: test/Serialization/Inputs/alias.swift
- edit: test/Serialization/typealias.swift
- Commit a99e380e8dbddeabc5a34fd3bfaa65f12ddc9b20 by Erik Eckstein:
disabled flaky test
- edit: unittests/runtime/Metadata.cpp
- Commit 0ab6d6a208aa111052f07fb6224f7ca6b5c1c110 by Joe Groff:
Update IRGen tests for changed @swift_once signature to take a context
- edit: test/IRGen/concrete_inherits_generic_base.swift
- edit: test/IRGen/class_resilience.swift
- edit: test/IRGen/enum_resilience.swift
- edit: test/IRGen/nested_types.sil
- edit: test/IRGen/builtins.swift
- edit: test/IRGen/lazy_globals.swift
- Commit 8a1ab2834ed23f4b50601b7bb221994c9f7a42d6 by Joe Groff:
Fix IRGen test on Linux, where exported Swift symbols always get
- edit: test/IRGen/keypaths.sil
- Commit 87aa3e6935ad99e933512eceb75f4691d3fa6ecb by Huon Wilson:
[Frontend] -frontend -emit-loaded-module-trace.
- edit: lib/Driver/Types.cpp
- edit: lib/Frontend/CompilerInvocation.cpp
- edit: lib/Driver/ToolChains.cpp
- add: test/Driver/loaded_module_trace_foundation.swift
- edit: include/swift/Basic/JSONSerialization.h
- edit: include/swift/Driver/Types.def
- edit: lib/Driver/Driver.cpp
- add: test/Driver/Inputs/loaded_module_trace_empty.swift
- edit: include/swift/Option/Options.td
- edit: include/swift/AST/DiagnosticsFrontend.def
- edit: lib/FrontendTool/FrontendTool.cpp
- add: test/Driver/loaded_module_trace.swift
- edit: include/swift/Frontend/FrontendOptions.h
- Commit 7e8568d03d74c3e24d528fe67a22ecaf9f3246d5 by Huon Wilson:
[Driver] Main compiler tells frontend to -emit-loaded-module-trace.
- edit: test/Driver/loaded_module_trace_foundation.swift
- edit: include/swift/Driver/Compilation.h
- edit: lib/Driver/Driver.cpp
- edit: test/Driver/loaded_module_trace.swift
- Commit 9c6c7c5105108d6bd0104d0441edc7df90a607e1 by Huon Wilson:
[Driver] Support the SWIFT_LOADED_MODULE_TRACE_PATH env var.
- edit: lib/Driver/Driver.cpp
- add: test/Driver/loaded_module_trace_env.swift
- Commit b0656b032443a55941dc9f734a77a33cc1b70aa6 by Huon Wilson:
[test] C header, multifile, is-one-line and transitive dependency tests
- add: test/Driver/loaded_module_trace_header.swift
- edit: test/Driver/loaded_module_trace.swift
- add: test/Driver/loaded_module_trace_multifile.swift
- add: test/Driver/Inputs/loaded_module_trace_header2.h
- add: test/Driver/Inputs/loaded_module_trace_header.h
- add: test/Driver/Inputs/loaded_module_trace_imports_module.swift
- edit: test/Driver/loaded_module_trace_env.swift
- Commit 268834aabf201d610d06429116d2b8a2614238e2 by Huon Wilson:
[Frontend] Buffer loaded module trace in memory and append "atomically".
- edit: lib/FrontendTool/FrontendTool.cpp
- add: test/Driver/loaded_module_trace_append.swift
- Commit f887044f01044452303010f23c2683112695b2c3 by Joe Groff:
Fix AST printer of generic signatures to consider depths of generic
- edit: lib/AST/ASTPrinter.cpp
- add: test/SILGen/same_type_across_generic_depths.swift
- Commit 0efba5f0e9198a0f3e93a8cd3ef4fa10033fab43 by Argyrios Kyrtzidis:
[PrintAsObjC] Make sure the preprocessor checks work in a compiler
- edit: lib/PrintAsObjC/PrintAsObjC.cpp
- edit: test/PrintAsObjC/empty.swift
- edit: test/PrintAsObjC/mixed-framework.swift
- edit: test/PrintAsObjC/mixed-framework-fwd.swift
- Commit 9222960df5017165b9e2f636b14a957ec9ad1fa3 by Joe Groff:
Update ConditionalCompilation test.
- edit: test/Parse/ConditionalCompilation/basicParseErrors.swift
- Commit a9825bb7c633a9deed81ead26d2bb330dde2bc8d by Nathan Hawes:
[migrator] Add -warn-swift3-objc-inference to the new migrator fixit
- edit: include/swift/Migrator/FixitFilter.h
- Commit f1902fd7195b46c6a4d080f36142a5464ee24073 by github:
[Serialization] Drop typealiases whose underlying types have changed.
- edit: include/swift/Serialization/ModuleFormat.h
- edit: test/Serialization/Recovery/Inputs/custom-modules/module.modulemap
- add: test/Serialization/Recovery/typedefs.swift
- edit: include/swift/AST/ProtocolConformance.h
- edit: lib/Serialization/Serialization.cpp
- edit: lib/Serialization/Deserialization.cpp
- edit: lib/Serialization/Serialization.h
- add: test/Serialization/Recovery/Inputs/custom-modules/Typedefs.h
- Commit 7e7252dc4c2d9727a8b54714f26181941fe90c60 by Roman Levenstein:
[generic-specializer] Fix for specializations which are no-return
- edit: test/SILOptimizer/specialize.sil
- edit: lib/SILOptimizer/Utils/Generics.cpp
- Commit 3fa712d4d1caac32fc2c62f7117a1746bf63b880 by github:
Revert "disabled flaky test"
- edit: unittests/runtime/Metadata.cpp
- Commit 4d2128b8c40901241d135fab70e7a10dd6b21ea8 by Erik Eckstein:
Some improvements in the viewcfg script.
- Commit 48fb57338c5b1319b3e9a1cf1a2eea84a664358e by Huon Wilson:
[JSONSerialization] needs .
- edit: include/swift/Basic/JSONSerialization.h
- Commit 72e7f9a7d7493bd407907d692622e3dc4412472a by github:
[test] Add some tests for swift-api-digester's data generation for
- edit: test/api-digester/Outputs/macro-gen.json
- edit: test/api-digester/Inputs/macro-gen-right.swift
- edit: test/api-digester/Outputs/macro-gen.def
- edit: test/api-digester/Inputs/macro-gen-left.swift
- Commit e57232dbe924238f0dc48d71ab4a896564e18e96 by github:
[migrator] Add a viewer utility for child indices to facilitate access.
- edit: include/swift/IDE/APIDigesterData.h
- edit: lib/IDE/APIDigesterData.cpp
- Commit 9d745fa18fe1f5284096e0b009de43f210d36604 by Ben Langmuir:
[test] Fix SourceKit test harder against unnecessary USRs
- edit: test/SourceKit/CodeComplete/complete_moduleimportdepth.swift
- Commit c170f07b85a1ab28fbe1ce060bf8743c4c8cad18 by github:
[Serialization] Remove special case for magic "NS" prefix stripping.
- edit: lib/Serialization/Deserialization.cpp
- Commit 5494424b9a97df434bc82c6e33d39bcb0f1c763c by github:
Correct UnsafeBufferPointer's Collection.makeIterator, add _copyContents
- edit: validation-test/stdlib/UnsafeBufferPointer.swift.gyb
- edit: stdlib/public/core/UnsafeBufferPointer.swift.gyb
- Commit ae5effbf2f9b7e3f5d432c4908c204f1807b5bfc by Roman Levenstein:
[sil-opened-archetypes-tracker] Add helper methods for dumping the state
- edit: lib/SIL/SILOpenedArchetypesTracker.cpp
- edit: include/swift/SIL/SILOpenedArchetypesTracker.h
- Commit 8f39486bd7156007b7f79b5d0a097db084bc1bfb by Roman Levenstein:
Bugfix: alloc_ref object type may contain open archetypes that need to
- edit: lib/SIL/SILInstructions.cpp
- edit: test/SILOptimizer/opened_archetype_operands_tracking.sil
- Commit d5cdf658daa7754b8938e671b7d5a80590eb106c by Joe Groff:
KeyPaths: Generate _kvcKeyPathString for ObjC-compatible keypaths.
- edit: lib/IRGen/GenKeyPath.cpp
- edit: lib/SILGen/SILGenExpr.cpp
- add: test/stdlib/KeyPathObjC.swift
- edit: lib/SIL/SILPrinter.cpp
- edit: include/swift/SIL/SILInstruction.h
- edit: lib/Sema/CSApply.cpp
- edit: stdlib/public/core/KeyPath.swift
- add: test/SILGen/keypaths_objc.swift
- edit: lib/Parse/ParseSIL.cpp
- edit: lib/SIL/SILInstructions.cpp
- edit: test/SILGen/keypaths.swift
- Commit 9733d50db402eb14815ae2ebfde3b7c783542dc5 by github:
Add Swift 3 compatibility versions of String.init for
- edit: stdlib/public/core/StringLegacy.swift
- Commit 07c0232e1a0a0461bef6b99b47ed5f9d8329dbc1 by Slava Pestov:
swift-ide-test: Use the right DeclContext for mangling
- edit: tools/swift-ide-test/swift-ide-test.cpp
- Commit b1a5074e4405a7d527434a095fd5056adef5641f by Slava Pestov:
swift-ide-test: Enable subclass existentials since I don't know how to
- edit: tools/swift-ide-test/swift-ide-test.cpp
- Commit 3c16bb491ee01f850800339f5b6f2d7dba86d8a1 by Slava Pestov:
TypeReconstruction: Remove some dead code
- edit: lib/IDE/TypeReconstruction.cpp
- Commit 4fd1da9613d26590b08a47f4534637db5d72dfd6 by Slava Pestov:
TypeReconstruction: Stop passing around 'nodes'
- edit: lib/IDE/TypeReconstruction.cpp
- Commit ebf0645f4cfee64c3ef0f0fa285b2345e835662a by Slava Pestov:
TypeReconstruction: Stop passing around 'generic_context'
- edit: lib/IDE/TypeReconstruction.cpp
- Commit 54784910fe6a0c33cc26ffa41475df8b70005827 by Slava Pestov:
TypeReconstruction: Fixes for nested generics
- edit: lib/IDE/TypeReconstruction.cpp
- Commit 9b49751ac15003618db67069176ea2e185238f48 by Slava Pestov:
TypeReconstruction: Support for subclass existentials
- edit: lib/IDE/TypeReconstruction.cpp
- Commit 3df4b90dfee1e08bedf50256dd1cbe35e4b7b70c by Slava Pestov:
TypeReconstruction: Fancier tests
- edit: test/IDE/reconstruct_type_from_mangled_name.swift
- Commit 2aba021c6e5ab72e677286c8e10d0245c4ee4b7d by Slava Pestov:
IDE: Don't use Objective-C USRs for AnyObject
- edit: test/SourceKit/DocSupport/doc_clang_module.swift.response
- edit: test/IDE/reconstruct_type_from_mangled_name.swift
- edit: lib/AST/USRGeneration.cpp
- Commit f025632ac2bc4f456e3f3bf7a75da44fcafd65f1 by Slava Pestov:
TypeReconstruction: Fix reconstruction of type aliases
- edit: test/IDE/reconstruct_type_from_mangled_name.swift
- edit: lib/IDE/TypeReconstruction.cpp
- Commit d96d488109c65694c754d8e61cbf925aa60ca911 by Slava Pestov:
TypeReconstruction: Fix null pointer dereference with invalid demangling
- edit: lib/IDE/TypeReconstruction.cpp
- Commit ca31338e497ac49b769bd184a0f1e3ab4352cc37 by Ben Cohen:
Simplifying implementation of `ExpressibleByStringLiteral` (#7125)
- add: test/Interpreter/unicode_scalar_literal.swift
- edit: stdlib/public/core/String.swift
- edit: stdlib/public/SDK/Foundation/NSString.swift
- add: test/Interpreter/string_literal.swift
- add: test/Interpreter/extended_grapheme_cluster_literal.swift
- add: test/expr/primary/literal/string.swift
- edit: stdlib/public/SDK/ObjectiveC/ObjectiveC.swift
- edit: stdlib/public/core/Character.swift
- edit: stdlib/public/core/CompilerProtocols.swift
- Commit 6fb6cdcc61c7334429bbbf45b637b9457694c340 by Erik Eckstein:
Disabled 2 driver tests because they are failing
- edit: test/Driver/loaded_module_trace_foundation.swift
- edit: test/Driver/loaded_module_trace_header.swift
- Commit 449aa2f6b4d9a3d70990c8001a8b3f62797e5b24 by Doug Gregor:
Mark conformances as "used" when the GenericSignatureBuilder needs them.
- edit: lib/Sema/TypeCheckType.cpp
- edit: lib/Sema/TypeCheckGeneric.cpp
- edit: lib/Sema/TypeCheckProtocol.cpp
- add: test/multifile/for_each_conformance_crash.swift
- add: test/multifile/Inputs/for_each_conformance_crashB.swift
- edit: lib/Sema/TypeChecker.h
- edit: lib/Sema/TypeCheckAttr.cpp
- Commit 23d36c6dbda468d8e0e6586601de563a5907fb31 by Tom Stellard:
Merging r298604:
- edit: lib/CodeGen/SelectionDAG/DAGCombiner.cpp
- add: test/CodeGen/X86/pr32284.ll
- Commit 6287fc2ddabe9a1e3c6afbd5acdc3b934da53de1 by Tim Northover:
ARM: don't try to create an i8 -> i32 vpaddl.
- edit: lib/Target/ARM/ARMISelLowering.cpp
- edit: test/CodeGen/ARM/vpadd.ll
- Commit ed6a4a3a79ddcbe865c37c75d6a1a6074c25046a by Matthias Braun:
X86FrameLowering: Fix getFrameIndexReference() for 'fixed' objects
- add: test/CodeGen/X86/dbg-baseptr.ll
- edit: lib/Target/X86/X86RegisterInfo.h
- edit: lib/Target/X86/X86FrameLowering.cpp
- Commit 1da90f4c84922a78822decfce0d8a2fa2c259077 by Tim Northover:
ARM: make sure we use all entries in a vector before forming a vpaddl.
- edit: lib/Target/ARM/ARMISelLowering.cpp
- edit: test/CodeGen/ARM/vpadd.ll
- Commit 78112a7d4c6c1d3c70927bd250c4594aaa3c292c by Matthias Braun:
AArch64FrameLowering: Check if the ExtraCSSpill register is actually
- edit: lib/Target/AArch64/AArch64FrameLowering.cpp
- add: test/CodeGen/AArch64/swiftself-scavenger.ll
- Commit 5ae017ff721c3818565bbc627a51da8a49678622 by Akira Hatanaka:
[TargetLowering] fix formatting and comments for ShrinkDemandedConstant;
- edit: lib/CodeGen/SelectionDAG/TargetLowering.cpp
- Commit 197ae4ce646bdb31482d86cb058df961ce1cf73f by Akira Hatanaka:
[AArch64] Improve code generation for logical instructions taking
- edit: lib/Target/AMDGPU/AMDGPUISelLowering.cpp
- edit: lib/Target/AArch64/AArch64ISelLowering.h
- edit: lib/CodeGen/SelectionDAG/TargetLowering.cpp
- add: test/CodeGen/AArch64/optimize-imm.ll
- edit: lib/Target/XCore/XCoreISelLowering.cpp
- edit: lib/Target/X86/X86ISelLowering.cpp
- edit: lib/Target/AArch64/AArch64ISelLowering.cpp
- edit: lib/Target/AMDGPU/SIISelLowering.cpp
- edit: include/llvm/Target/TargetLowering.h
- Commit a1f2922b35f5966529c8112fb26a2e53e72b6ab7 by Argyrios Kyrtzidis:
[index] For 'transparent' tag typedefs, ignore their tag reference
- edit: test/Index/Core/index-source.m
- edit: lib/Index/IndexDecl.cpp
- Commit f96231598c34e00408952ab7f81402c1236c634f by Argyrios Kyrtzidis:
[index] Take advantage of 'external_source_symbol' attribute for
- edit: lib/Index/IndexDecl.cpp
- edit: lib/Index/USRGeneration.cpp
- edit: lib/Index/IndexTypeSourceInfo.cpp
- edit: include/clang/Index/USRGeneration.h
- edit: lib/Index/IndexingContext.cpp
- add: test/Index/Core/external-source-symbol-attr.m
- edit: lib/Index/IndexingContext.h
- Commit 2155894f9160d1cb0fae904997fa7bcf6be36140 by Argyrios Kyrtzidis:
[index] Take into account the category's external_symbol attr for
- edit: test/Index/Core/external-source-symbol-attr.m
- edit: include/clang/Index/USRGeneration.h
- edit: lib/Index/USRGeneration.cpp
- Commit 5b0134ef15c9743ebdea52b16bffeb047f2b01a9 by Vedant Kumar:
Let ubsan search UBSAN_SYMBOLIZER_PATH for llvm-symbolizer
- edit: lib/ubsan/ubsan_flags.cc